Cmdlets for HDFS

Build 21.0.7930

Select-HDFS Cmdlet

Parameters   Output Objects  

Searches HDFS data.

Syntax

Select-HDFS [parameters]

Remarks

The Select-HDFS cmdlet allows you to use a syntax similar to SQL SELECT statements to search HDFS data.

$conn = Connect-HDFS -Host "sandbox-hdp.hortonworks.com" -Port "50070" -Path "/user/root"
Select-HDFS -Connection $conn -Table "Files" -Columns @("FileId","ChildrenNum") -Where "FileId='119116'"

Copyright (c) 2021 CData Software, Inc. - All rights reserved.
Build 21.0.7930