Difference between revisions of "PropertyDef"

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

Revision as of 20:45, 13 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.


The following table shows the PropertyDef possible elements that can be set when a RemoteCommand is executed on the HDFS file system:

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 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.