Cassandra powered by Miri Infotech
Jun 28, 2024
> /etc/hosts Then run the command vi /etc/hosts and exit the file by pressing the button Esc and then enter :wq then press enter. Step 3: Use following Linux command to start Cassandra Note: Please do not copy the below commands, type it manually. Command- cassandra –R Now, please press Ctrl+C to exit from the running command. Command- cqlsh Run any cassandra command and enjoy.Note: you can type quit to exit from the ongoing Cassandra cluster. Optional for Hadoop core: Step 1: type the following commands: Command- ssh-keygen -t rsa -P "" This command is used to generate the ssh key. You just have to press Enter button where it asks you in which file to save the key.Command- cat $HOME/.ssh/id_rsa.pub >> $HOME/.ssh/authorized_keys This command is used to move the generated ssh key to the desired location Command- hdfs namenode –formatCommand- start-all.sh You have to write “yes” when it prompts you – Are you sure you want to continue? Step 2: After the above command executes successfully, you should check the below urls in the browser - http://
:8088">