Cmdlets for HDFS

Build 24.0.9060

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) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9060