Hadoop CLI Usage
WSO2 Storage server ships a script to support Hadoop CLI commands. Also user has to install Kerberos tools to cache Kerberos ticket from KDC server hosted with Storage Server.
1. Cache the user kerberos ticket to the system.
$kinit user1
2. Change the directory to $CARBON_HOME
[user home should be created by admin /user/user1 and chown to user1]
List HDFS directorys
$bin/hadoop dfs -lsr /user/user1
Create directory in HDFS.
$bin/hadoop dfs -mkdir /user/user1/wso2