{"id":1561,"date":"2019-04-28T12:03:07","date_gmt":"2019-04-28T12:03:07","guid":{"rendered":"https:\/\/prwatech.in\/blog\/?p=1561"},"modified":"2023-07-20T05:51:18","modified_gmt":"2023-07-20T05:51:18","slug":"apache-spark-cassandra-installation","status":"publish","type":"post","link":"https:\/\/prwatech.in\/blog\/software-installation\/apache-spark-cassandra-installation\/","title":{"rendered":"Apache Spark Cassandra Installation"},"content":{"rendered":"<h1 style=\"text-align: center;\">Apache Spark Cassandra Installation<\/h1>\n<p><strong>Apache Spark Cassandra Installation<\/strong>, In this tutorial one, can easily know the information about Apache Spark Cassandra Installation and setup Cassandra cluster ubuntu which are available and are used by most of the Spark developers. Are you dreaming to become to certified Pro <a href=\"https:\/\/prwatech.in\/apache-spark-training-institute-in-bangalore\/\">Spark Developer<\/a>, then stop just dreaming, get your <a href=\"https:\/\/prwatech.in\/apache-spark-training-institute-in-bangalore\/\">Apache Spark Scala certification course<\/a> from India\u2019s Leading <a href=\"https:\/\/prwatech.in\/apache-spark-training-institute-in-bangalore\/\" target=\"_blank\" rel=\"noopener noreferrer\">Apache Spark Scala Training institute<\/a>.<\/p>\n<p>In this tutorial, we will learn how to install Cassandra on ubuntu. We will learn various steps for the Cassandra installation on Ubuntu to set up the Apache Spark. We will start with platform requirements for Apache Scala Setup Cassandra cluster ubuntu, Cassandra installation prerequisites, various software required for installing Cassandra on Ubuntu. Do you want to set up the Cassandra on Ubuntu, So follow the below mentioned Apache spark Cassandra installation guide from <a href=\"http:\/\/prwatech.com\/\">Prwatech<\/a> and take <a href=\"https:\/\/prwatech.in\/apache-spark-training-institute-in-bangalore\/\">Apache Spark Scala training<\/a> like a pro from today itself under 15+ Years of Hands-on Experienced Professionals.<\/p>\n<h2>How to install Cassandra on ubuntu<\/h2>\n<h3><strong>Steps:<\/strong><\/h3>\n<p>We get&nbsp;<a href=\"http:\/\/www.us-apache.org\/dist\/cassandra\/3.0.5\/apache-cassandra-3.0.5-bin-tar.gz\">http:\/\/www.us-apache.org\/dist\/cassandra\/3.0.5\/apache-cassandra-3.0.5-bin-tar.gz<\/a><\/p>\n<p>Extract it<\/p>\n<p>Paste gave lines in .bashrc file<\/p>\n<p>Export CASSANDRA_HOME=\/home\/Hadoop\/work\/Apache-Cassandra-3.0.5<\/p>\n<p>Export PATH=$CASSANDRA_\/bin:$PATH<\/p>\n<p>Cd $CASSANDRA_HOME\/bin<\/p>\n<p>Cqlsh<\/p>\n<h3>Working with Cassandra<\/h3>\n<p><strong>CREATE KEYSPACE<\/strong><\/p>\n<p>A keyspace is nothing but an object which holds the information of column family user defines the data type. In RDBMS we have a database but in Cassandra we have keyspace.<\/p>\n<p><strong>Syntax:<\/strong><\/p>\n<p>Create keyspace test with replication={\u2018class\u2019:SimpleStragey\u2019,\u2019replication_factore:3};<\/p>\n<p>A keyspace is created now<\/p>\n<p>To verify<\/p>\n<p><strong>Syntax:<\/strong> DESCRIBE keyspaces;<\/p>\n<p><strong>CREATING TABLE<\/strong><\/p>\n<p><strong>Syntax:<\/strong> Creating table student<\/p>\n<p>(<\/p>\n<p>Student_name text Primary key,<\/p>\n<p>Std_age int,<\/p>\n<p>Std_address text,<\/p>\n<p>Std_phonevarint);<\/p>\n<p><strong>INSERTION OPERATION<\/strong><\/p>\n<p><strong>Syntax :<\/strong> INSERT into(student_name,std_age,std_address,std_phone) values(\u2018H kumar\u2019,25,Bangalore,909090909);<\/p>\n<p><strong>ALTERTABLE<\/strong><\/p>\n<p><strong>Syntax :<\/strong> Alter table student add student_email text<\/p>\n<p><strong>DROP COLUMN<\/strong><\/p>\n<p>Syntax: ALTER TABLE STUDENT DROP(STD_AGE);<\/p>\n<p><strong>TRUNCATE TABLE<\/strong><\/p>\n<p>Syntax: TRUNCATE Student;<\/p>\n<p><iframe loading=\"lazy\" src=\"https:\/\/www.youtube.com\/embed\/23g5N5BxrvM\" width=\"650\" height=\"315\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Apache Spark Cassandra Installation Apache Spark Cassandra Installation, In this tutorial one, can easily know the information about Apache Spark Cassandra Installation and setup Cassandra cluster ubuntu which are available and are used by most of the Spark developers. Are you dreaming to become to certified Pro Spark Developer, then stop just dreaming, get your [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[601,1711],"tags":[297],"class_list":["post-1561","post","type-post","status-publish","format-standard","hentry","category-software-installation","category-software-installation-modules","tag-apache-spark-cassandra-installation"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Apache Spark Cassandra Installation on Ubuntu with examples | Prwatech<\/title>\n<meta name=\"description\" content=\"Explore step by step guide on how to setup an Apache Spark Cassandra installation on Ubuntu by Apache Spark Cassandra installation guide from Prwatech.\" \/>\n<meta name=\"robots\" content=\"noindex, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Apache Spark Cassandra Installation on Ubuntu with examples | Prwatech\" \/>\n<meta property=\"og:description\" content=\"Explore step by step guide on how to setup an Apache Spark Cassandra installation on Ubuntu by Apache Spark Cassandra installation guide from Prwatech.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/prwatech.in\/blog\/software-installation\/apache-spark-cassandra-installation\/\" \/>\n<meta property=\"og:site_name\" content=\"Prwatech\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prwatech.in\/\" \/>\n<meta property=\"article:published_time\" content=\"2019-04-28T12:03:07+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-07-20T05:51:18+00:00\" \/>\n<meta name=\"author\" content=\"Prwatech\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@Eduprwatech\" \/>\n<meta name=\"twitter:site\" content=\"@Eduprwatech\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Prwatech\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/prwatech.in\/blog\/software-installation\/apache-spark-cassandra-installation\/\",\"url\":\"https:\/\/prwatech.in\/blog\/software-installation\/apache-spark-cassandra-installation\/\",\"name\":\"Apache Spark Cassandra Installation on Ubuntu with examples | Prwatech\",\"isPartOf\":{\"@id\":\"https:\/\/prwatech.in\/blog\/#website\"},\"datePublished\":\"2019-04-28T12:03:07+00:00\",\"dateModified\":\"2023-07-20T05:51:18+00:00\",\"author\":{\"@id\":\"https:\/\/prwatech.in\/blog\/#\/schema\/person\/db90baff7744090b2288bbc98fea87f3\"},\"description\":\"Explore step by step guide on how to setup an Apache Spark Cassandra installation on Ubuntu by Apache Spark Cassandra installation guide from Prwatech.\",\"breadcrumb\":{\"@id\":\"https:\/\/prwatech.in\/blog\/software-installation\/apache-spark-cassandra-installation\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/prwatech.in\/blog\/software-installation\/apache-spark-cassandra-installation\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/prwatech.in\/blog\/software-installation\/apache-spark-cassandra-installation\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/prwatech.in\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Apache Spark Cassandra Installation\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/prwatech.in\/blog\/#website\",\"url\":\"https:\/\/prwatech.in\/blog\/\",\"name\":\"Prwatech\",\"description\":\"Share Ideas, Start Something Good.\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/prwatech.in\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/prwatech.in\/blog\/#\/schema\/person\/db90baff7744090b2288bbc98fea87f3\",\"name\":\"Prwatech\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/prwatech.in\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/c00bafc1b04045f31eda917de39891456c44fa47c092b9bb6be0f860a3a30a2f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/c00bafc1b04045f31eda917de39891456c44fa47c092b9bb6be0f860a3a30a2f?s=96&d=mm&r=g\",\"caption\":\"Prwatech\"},\"url\":\"https:\/\/prwatech.in\/blog\/author\/prwatech123\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Apache Spark Cassandra Installation on Ubuntu with examples | Prwatech","description":"Explore step by step guide on how to setup an Apache Spark Cassandra installation on Ubuntu by Apache Spark Cassandra installation guide from Prwatech.","robots":{"index":"noindex","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"og_locale":"en_US","og_type":"article","og_title":"Apache Spark Cassandra Installation on Ubuntu with examples | Prwatech","og_description":"Explore step by step guide on how to setup an Apache Spark Cassandra installation on Ubuntu by Apache Spark Cassandra installation guide from Prwatech.","og_url":"https:\/\/prwatech.in\/blog\/software-installation\/apache-spark-cassandra-installation\/","og_site_name":"Prwatech","article_publisher":"https:\/\/www.facebook.com\/prwatech.in\/","article_published_time":"2019-04-28T12:03:07+00:00","article_modified_time":"2023-07-20T05:51:18+00:00","author":"Prwatech","twitter_card":"summary_large_image","twitter_creator":"@Eduprwatech","twitter_site":"@Eduprwatech","twitter_misc":{"Written by":"Prwatech","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/prwatech.in\/blog\/software-installation\/apache-spark-cassandra-installation\/","url":"https:\/\/prwatech.in\/blog\/software-installation\/apache-spark-cassandra-installation\/","name":"Apache Spark Cassandra Installation on Ubuntu with examples | Prwatech","isPartOf":{"@id":"https:\/\/prwatech.in\/blog\/#website"},"datePublished":"2019-04-28T12:03:07+00:00","dateModified":"2023-07-20T05:51:18+00:00","author":{"@id":"https:\/\/prwatech.in\/blog\/#\/schema\/person\/db90baff7744090b2288bbc98fea87f3"},"description":"Explore step by step guide on how to setup an Apache Spark Cassandra installation on Ubuntu by Apache Spark Cassandra installation guide from Prwatech.","breadcrumb":{"@id":"https:\/\/prwatech.in\/blog\/software-installation\/apache-spark-cassandra-installation\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/prwatech.in\/blog\/software-installation\/apache-spark-cassandra-installation\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/prwatech.in\/blog\/software-installation\/apache-spark-cassandra-installation\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/prwatech.in\/blog\/"},{"@type":"ListItem","position":2,"name":"Apache Spark Cassandra Installation"}]},{"@type":"WebSite","@id":"https:\/\/prwatech.in\/blog\/#website","url":"https:\/\/prwatech.in\/blog\/","name":"Prwatech","description":"Share Ideas, Start Something Good.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/prwatech.in\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/prwatech.in\/blog\/#\/schema\/person\/db90baff7744090b2288bbc98fea87f3","name":"Prwatech","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/prwatech.in\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/c00bafc1b04045f31eda917de39891456c44fa47c092b9bb6be0f860a3a30a2f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/c00bafc1b04045f31eda917de39891456c44fa47c092b9bb6be0f860a3a30a2f?s=96&d=mm&r=g","caption":"Prwatech"},"url":"https:\/\/prwatech.in\/blog\/author\/prwatech123\/"}]}},"_links":{"self":[{"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/posts\/1561","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/comments?post=1561"}],"version-history":[{"count":9,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/posts\/1561\/revisions"}],"predecessor-version":[{"id":6263,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/posts\/1561\/revisions\/6263"}],"wp:attachment":[{"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/media?parent=1561"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/categories?post=1561"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/tags?post=1561"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}