Difference between revisions of "PropertyDef"

From GreenVulcano Wiki
Jump to: navigation, search
(PropertyDef)
 
Line 22: Line 22:
  
 
Might contain the sub-element [[Description]].
 
Might contain the sub-element [[Description]].
 
 
 
The following table shows the PropertyDef possible elements that can be set when a RemoteCommand is executed on the HDFS file system:
 
{|class="gvtable"
 
! RemoteCommand !! Possible Values
 
|-
 
| GVDownload || * dfs.file.delete-source [true|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 || * dfs.file.delete-source [true|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 to 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.
 
|}
 

Latest revision as of 10:27, 14 January 2015

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.