PropertyDef

From GreenVulcano Wiki
Revision as of 20:39, 13 January 2015 by M.deluca (talk | contribs) (PropertyDef)
Jump to: navigation, search

PropertyDef

Defines a property to set in GVBuffer.

The PropertyDef Element is used by: ChangeGVBuffer, SpProperties, JbProperties, RemoteCommands.

The following table shows the PropertyDef element's attributes:

Attribute Type Description
name required Property name.
value required Property value. Can contains metadata
overwrite-body optional If "yes" the GVBuffer body is overwitten with the GVBuffer's property value or with the current property value, or is set to null.

The body overwrite is execute prior of 'compress', 'crypto' or 'base64' operations. WARNING!!!!!!! The 'clear-data' operation is still performed invalidating the body overwriting. The attribute's admitted values are:

  • yes
  • no

Might contain the sub-element Description.

-

When is used a connection to an HDFS file system these are the PropertyDef based on the type of RemoteCommands: The following table shows the PropertyDef element's attributes:

RemoteCommand Possible Values
GVDownload false]
  • dfs.file.raw-local-filesystem [true|false]
  • dfs.stream-buffer-size [default: 8192]

These parameters can be used to specify the related action when a download operation is used on the HDFS file system.

GVUpload false]
  • dfs.file.overwrite [true|false]
  • dfs.permissions.path [Unix-like permission Example: 777]
  • dfs.stream-buffer-size
  • dfs.replication [default 1:]
  • dfs.blocksize [default: 1048576]
  • dfs.permissions.user [hdfs user owner]
  • dfs.permissions.group [hdfs user group]

These parameters can be used owerwrite the target destination with the source one, set the replication, permissions and the other properties on destination target when a download operation is used on the HDFS file system.