Hadoop-unit can be used with common tools such as:
- ./zkCli.sh -server localhost:22010
- hdfs dfs -ls hdfs://localhost:20112/
For windows user, you could have some issue like -classpath is not known. The cause of these errors are because your JAVA_HOME has space into. If your JAVA_HOME is linked to C:\Program File\Java\... then declared it as C:\Progra~1\Java\...
- kafka-console-consumer --zookeeper localhost:22010 --topic topic
- ./ksql http://localhost:8083
- <configuration>
- <property>
- <name>hbase.zookeeper.quorum</name>
- <value>127.0.0.1:22010</value>
- </property>
- <property>
- <name>zookeeper.znode.parent</name>
- <value>/hbase-unsecure</value>
- </property>
- </configuration>
- hbase shell
- <configuration>
- <property>
- <name>hive.metastore.uris</name>
- <value>thrift://127.0.0.1:20102</value>
- </property>
- </configuration>
- hive
For linux/MacOS user only
- beeline
- !connect jdbc:hive2://localhost:20103 user password
- ./cqlsh localhost 13433
- ALLUXIO_MASTER_HOSTNAME=localhost
- alluxio.master.port=14001
- ./alluxio fs ls <path>
- ./pulsar-client --url pulsar://localhost:22022/ consume -s subscriptionName topic
- ./pulsar-client --url pulsar://localhost:22022/ produce -m message topic