< Back

Set-HDFSStoragePolicy

Tue Jan 14, 2020 12:46 am

NAME Set-HDFSStoragePolicy



SYNTAX

Set-HDFSStoragePolicy [-Path] <string> [-Policy] <string> [[-Session] <string>] [-WhatIf] [-Confirm]

[<CommonParameters>]





PARAMETERS

-Confirm



Required? false

Position? Named

Accept pipeline input? false

Parameter set name (All)

Aliases cf

Dynamic? false



-Path <string>



Required? true

Position? 0

Accept pipeline input? true (ByValue)

Parameter set name (All)

Aliases None

Dynamic? false



-Policy <string>



Required? true

Position? 1

Accept pipeline input? false

Parameter set name (All)

Aliases None

Dynamic? false



-Session <string>



Required? false

Position? 2

Accept pipeline input? false

Parameter set name (All)

Aliases None

Dynamic? false



-WhatIf



Required? false

Position? Named

Accept pipeline input? false

Parameter set name (All)

Aliases wi

Dynamic? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).





INPUTS

System.String





OUTPUTS

System.Object



ALIASES

None





REMARKS

None





examples : @{example=@{introduction=System.Management.Automation.PSObject[]; code=Set-HDFSXAttr -Name "user.name"

-Value "john.smith" -Path "/test/data.txt" -Flag CREATE;

remarks=System.Management.Automation.PSObject[]; title=-------------------------- EXAMPLE 1

--------------------------}}

inputTypes : @{inputType=@{type=@{name=System.String



The path of the item can be piped to this cmdlet.}}}

alertSet : @{alert=System.Management.Automation.PSObject[]}

syntax : @{syntaxItem=@{name=Set-HDFSXAttr; parameter=System.Management.Automation.PSObject[]}}

parameters : @{parameter=System.Management.Automation.PSObject[]}

details : @{name=Set-HDFSXAttr; description=System.Management.Automation.PSObject[]}

description : {@{Text=This cmdlet sets an extended attribute of an HDFS item.}}

returnValues : @{returnValue=@{type=@{name=None}}}

xmlns:maml : http://schemas.microsoft.com/maml/2004/10

xmlns:command : http://schemas.microsoft.com/maml/dev/command/2004/10

xmlns:dev : http://schemas.microsoft.com/maml/dev/2004/10

Name : Set-HDFSXAttr

Category : Function

Synopsis : Sets an HDFS item's extended attribute.

Component :

Role :

Functionality :

ModuleName : HDFS





examples : @{example=@{introduction=System.Management.Automation.PSObject[]; code=Test-HDFSAccess -Path "/test"

-Action "rwx"; remarks=System.Management.Automation.PSObject[]; title=--------------------------

EXAMPLE 1 --------------------------}}

inputTypes : @{inputType=@{type=@{name=System.String



The path of the item can be piped to this cmdlet.}}}

alertSet : @{alert=System.Management.Automation.PSObject[]}

syntax : @{syntaxItem=@{name=Test-HDFSAccess; parameter=System.Management.Automation.PSObject[]}}

parameters : @{parameter=System.Management.Automation.PSObject[]}

details : @{name=Test-HDFSAccess; description=System.Management.Automation.PSObject[]}

description : {@{Text=This cmdlet test the supplied action and return a value of true or false if the user is

allowed the specified action.}}

returnValues : @{returnValue=@{type=@{name=System.Boolean}}}

xmlns:maml : http://schemas.microsoft.com/maml/2004/10

xmlns:command : http://schemas.microsoft.com/maml/dev/command/2004/10

xmlns:dev : http://schemas.microsoft.com/maml/dev/2004/10

Name : Test-HDFSAccess

Category : Function

Synopsis : Tests access to an HDFS item.

Component :

Role :

Functionality :

ModuleName : HDFS





examples : @{example=@{introduction=System.Management.Automation.PSObject[]; code=Renew-HDFSDelegationToken

-Token $Token; remarks=System.Management.Automation.PSObject[]; title=--------------------------

EXAMPLE 1 --------------------------}}

inputTypes : @{inputType=@{type=@{name=System.String



The token to be renewed can be piped to this cmdlet.}}}

alertSet : @{alert=System.Management.Automation.PSObject[]}

syntax : @{syntaxItem=@{name=Update-HDFSDelegationToken; parameter=System.Management.Automation.PSObject[]}}

parameters : @{parameter=System.Management.Automation.PSObject[]}

details : @{name=Update-HDFSDelegationToken; description=System.Management.Automation.PSObject[]}

description : {@{Text=This cmdlet renews an HDFS delegation token.}}

returnValues : @{returnValue=@{type=@{name=System.String}}}

xmlns:maml : http://schemas.microsoft.com/maml/2004/10

xmlns:command : http://schemas.microsoft.com/maml/dev/command/2004/10

xmlns:dev : http://schemas.microsoft.com/maml/dev/2004/10

Name : Update-HDFSDelegationToken

Category : Function

Synopsis : Renews an HDFS delegation token.

Component :

Role :

Functionality :

ModuleName : HDFS