DataStax Enterprise 2.2 Documentation

DSE Command Reference

You can issue dse commands from the bin directory of the DataStax Enterprise installation.

Synopsis

dse [-v] | cassandra [options] | hadoop [options] | hive [options]
    | mahout [options] | pig [options] | sqoop [options]

This table describes the key dse commands:

Command Option Description Example
dse -v Send the DSE version number to standard output. none
dse cassandra   Start up a real-time Cassandra node in the background. link to example
dse cassandra -s Start up a DSE Search/Solr node in the background. link to example
dse cassandra -t Start up an analytics node in the background. link to example
dse cassandra -t -j Start up an analytics node as the job tracker. link to example
dse cassandra -f Start up a real-time Cassandra node in the foreground. none
dse cassandra -f -t Start up an analytics node in the foreground. none
dse cassandra -f -s Start up a DSE Search/Solr node in the foreground. none
dse cassandra-stop -p <pid> Stop the DataStax Enterprise process number pid. link to example
dse hadoop fs <options> Invoke the Hadoop FileSystem shell. link to example
dse hadoop fs -help Send Apache Hadoop fs command descriptions to standard output. link to example
dse hadoop fs -put <URI> Load the Pig sample data file into the Cassandra File System. link to example
dse hive   Start the Hive client. link to example
dse hive --service <name> Start Hive by connecting through the JDBC driver. link to example
dse mahout   Describe Mahout commands. link to example
dse mahout <mahout command> <options> Run the Mahout command. link to example
dse mahout hadoop <hadoop command> <options> Add Mahout classes to classpath and execute the hadoop command. link to example
dse pig   Start Pig. link to example
dse sqoop -help Send Apache Sqoop command line help to standard output. link to example

Hadoop, hive, mahout, and pig commands must be issued from an analytics node. Options are described in the HDFS File System Shell Guide on the Apache Hadoop web site.