

{"id":24003,"date":"2018-08-28T09:20:43","date_gmt":"2018-08-28T09:20:43","guid":{"rendered":"https:\/\/data-flair.training\/blogs\/?p=24003"},"modified":"2018-08-28T09:20:43","modified_gmt":"2018-08-28T09:20:43","slug":"troubleshooting-ambari","status":"publish","type":"post","link":"https:\/\/data-flair.training\/blogs\/troubleshooting-ambari\/","title":{"rendered":"Troubleshooting Ambari &#8211; Resolving General Problems"},"content":{"rendered":"<p><span style=\"font-weight: 400\">Today, in this <strong>Ambari article<\/strong>, &#8220;Troubleshooting Ambari&#8221; we will learn that how to resolve general problems of Apache Ambari in detail. <\/span><\/p>\n<p><span style=\"font-weight: 400\">So, let&#8217;s begin Troubleshooting Ambari.\u00a0<\/span><\/p>\n<h2><span style=\"font-weight: 400\">Troubleshooting Ambari<\/span><\/h2>\n<p><span style=\"font-weight: 400\">In order to help to troubleshoot any issues we might have on <strong>installing Ambari<\/strong> with an existing Oracle database, we can use following entries:<\/span><\/p>\n<h3><span style=\"font-weight: 400\">a. Problem 1<\/span><\/h3>\n<p><span style=\"font-weight: 400\">Ambari Server Fails to Start: No Driver<\/span><br \/>\n<b>Check \/var\/log\/ambari-server\/ambari-server.log for :<\/b><br \/>\n<b>ExceptionDescription:Configurationerror.<\/b><br \/>\n<b>Class[oracle.jdbc.driver.OracleDriver] not found.<\/b><br \/>\n<span style=\"font-weight: 400\">Not able to found the Oracle JDBC .jar file.<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400\"><strong> Solution<\/strong><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400\">Re-run ambari-server setup if you are sure about the file that it is in the appropriate directory on the Ambari server. <\/span><\/p>\n<h3><span style=\"font-weight: 400\">b. Problem 2<\/span><\/h3>\n<p><span style=\"font-weight: 400\">Ambari Server Fails to Start: No Connection<\/span><br \/>\n<b>Check \/var\/log\/ambari-server\/ambari-server.log for :<\/b><br \/>\n<b>The Network Adapter could not establish the connection<\/b><br \/>\n<b>Error Code: 17002<\/b><br \/>\n<span style=\"font-weight: 400\">Ambari Server and the database are not connected.<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400\"><strong>Solution<\/strong><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400\">Makes sure that the database correctly configured by reading \/etc\/ambari-server\/conf\/ambari.properties and also endure that the host is reachable from the Ambari Server.<\/span><\/p>\n<pre class=\"EnlighterJSRAW\">server.jdbc.url=jdbc:oracle:thin:\n         @oracle.database.hostname:1521\/ambaridb\nserver.jdbc.rca.url=jdbc:oracle:thin:\n         @oracle.database.hostname:1521\/ambaridb<\/pre>\n<h3><span style=\"font-weight: 400\">c. Problem 3<\/span><\/h3>\n<p><span style=\"font-weight: 400\">Ambari Server Fails to Start: Bad Username<\/span><br \/>\n<b>Check \/var\/log\/ambari-server\/ambari-server.log for :<\/b><br \/>\n<b>Internal Exception: java.sql.SQLException: ORA\u00ad01017:<\/b><br \/>\n<b>invalid username\/password; logon denied<\/b><br \/>\n<span style=\"font-weight: 400\">An invalid username\/password is used.<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400\"><strong> Solution<\/strong><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400\">Make sure that the user account has the correct privileges and also it is set up in the database.<\/span><\/p>\n<h3><span style=\"font-weight: 400\">d. Problem 4<\/span><\/h3>\n<p><span style=\"font-weight: 400\">Ambari Server Fails to Start: No Schema<\/span><br \/>\n<b>Check \/var\/log\/ambari-server\/ambari-server.log for :<\/b><br \/>\n<b> Internal Exception: java.sql.SQLSyntaxErrorException: ORA\u00ad00942:<\/b><br \/>\n<b>table or view does not exist<\/b><br \/>\n<span style=\"font-weight: 400\">Basically, the schema has not been loaded.<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400\"><strong>Solution<\/strong><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400\">Ensure that if you have loaded the database schema.<\/span><\/p>\n<h3>e. Problem 5<\/h3>\n<p>Ambari shows both NameNodes as the standby just after changing NameNode RPC port.<br \/>\nChange the NameNode RPC ports (by customizing the dfs.namenode.servicerpc-address property), if we have enabled NameNode HA, and it will display both NameNodes as standby.<\/p>\n<ul>\n<li><strong>Solution<\/strong><\/li>\n<\/ul>\n<p>We need to format ZKFC to make sure that the config data in ZooKeeper is refreshed\u00a0while modifying the NameNode RPC port (dfs.namenode.servicerpc-address) after enabling NameNode HA. Further to format ZKFC znode, run the following command:<\/p>\n<pre class=\"EnlighterJSRAW\">su - &lt;hdfs-user&gt; -c 'hdfs zkfc -formatZK'<\/pre>\n<p>So, this was all about Troubleshooting Ambari. Hope you like our explanation.<\/p>\n<h2>Conclusion: Apache Ambari Troubleshooting<\/h2>\n<p>Hence, we have seen the solution to all the general problems of Apache Ambari, in Ambari Troubleshooting article. Still, if you have any query regarding Ambari Troubleshooting ask in the comment tab.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Today, in this Ambari article, &#8220;Troubleshooting Ambari&#8221; we will learn that how to resolve general problems of Apache Ambari in detail. So, let&#8217;s begin Troubleshooting Ambari.\u00a0 Troubleshooting Ambari In order to help to troubleshoot&#46;&#46;&#46;<\/p>\n","protected":false},"author":6,"featured_media":26400,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[639,647,731,733,8129,9990,14959,14960],"class_list":["post-24003","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ambari","tag-ambari-known-issues","tag-ambari-tutorial","tag-apache-ambari-issues","tag-apache-ambari-tutorial","tag-learn-ambari","tag-problems-with-ambari","tag-troubleshooting-ambari","tag-troubleshooting-in-ambari"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Troubleshooting Ambari - Resolving General Problems - DataFlair<\/title>\n<meta name=\"description\" content=\"Apache Ambati Troubleshooting, Resolving problems in Ambari, Troubleshooting Ambari Deployments, Problem &amp; Solution in Ambari,Ambari known issues\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/data-flair.training\/blogs\/troubleshooting-ambari\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Troubleshooting Ambari - Resolving General Problems - DataFlair\" \/>\n<meta property=\"og:description\" content=\"Apache Ambati Troubleshooting, Resolving problems in Ambari, Troubleshooting Ambari Deployments, Problem &amp; Solution in Ambari,Ambari known issues\" \/>\n<meta property=\"og:url\" content=\"https:\/\/data-flair.training\/blogs\/troubleshooting-ambari\/\" \/>\n<meta property=\"og:site_name\" content=\"DataFlair\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/DataFlairWS\/\" \/>\n<meta property=\"article:published_time\" content=\"2018-08-28T09:20:43+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/08\/Troubleshooting-Ambari-Resolving-General-Problems-01-1.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"628\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"DataFlair Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@DataFlairWS\" \/>\n<meta name=\"twitter:site\" content=\"@DataFlairWS\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"DataFlair Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Troubleshooting Ambari - Resolving General Problems - DataFlair","description":"Apache Ambati Troubleshooting, Resolving problems in Ambari, Troubleshooting Ambari Deployments, Problem & Solution in Ambari,Ambari known issues","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/data-flair.training\/blogs\/troubleshooting-ambari\/","og_locale":"en_US","og_type":"article","og_title":"Troubleshooting Ambari - Resolving General Problems - DataFlair","og_description":"Apache Ambati Troubleshooting, Resolving problems in Ambari, Troubleshooting Ambari Deployments, Problem & Solution in Ambari,Ambari known issues","og_url":"https:\/\/data-flair.training\/blogs\/troubleshooting-ambari\/","og_site_name":"DataFlair","article_publisher":"https:\/\/www.facebook.com\/DataFlairWS\/","article_published_time":"2018-08-28T09:20:43+00:00","og_image":[{"width":1200,"height":628,"url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/08\/Troubleshooting-Ambari-Resolving-General-Problems-01-1.jpg","type":"image\/jpeg"}],"author":"DataFlair Team","twitter_card":"summary_large_image","twitter_creator":"@DataFlairWS","twitter_site":"@DataFlairWS","twitter_misc":{"Written by":"DataFlair Team","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/data-flair.training\/blogs\/troubleshooting-ambari\/#article","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/troubleshooting-ambari\/"},"author":{"name":"DataFlair Team","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/person\/2c58ecb4f73a39f0ef993f1ddfcd7b89"},"headline":"Troubleshooting Ambari &#8211; Resolving General Problems","datePublished":"2018-08-28T09:20:43+00:00","mainEntityOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/troubleshooting-ambari\/"},"wordCount":402,"commentCount":0,"publisher":{"@id":"https:\/\/data-flair.training\/blogs\/#organization"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/troubleshooting-ambari\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/08\/Troubleshooting-Ambari-Resolving-General-Problems-01-1.jpg","keywords":["Ambari Known issues","Ambari Tutorial","Apache Ambari issues","Apache Ambari Tutorial","Learn Ambari","Problems with Ambari","Troubleshooting Ambari","Troubleshooting in Ambari"],"articleSection":["Ambari Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/data-flair.training\/blogs\/troubleshooting-ambari\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/data-flair.training\/blogs\/troubleshooting-ambari\/","url":"https:\/\/data-flair.training\/blogs\/troubleshooting-ambari\/","name":"Troubleshooting Ambari - Resolving General Problems - DataFlair","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/troubleshooting-ambari\/#primaryimage"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/troubleshooting-ambari\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/08\/Troubleshooting-Ambari-Resolving-General-Problems-01-1.jpg","datePublished":"2018-08-28T09:20:43+00:00","description":"Apache Ambati Troubleshooting, Resolving problems in Ambari, Troubleshooting Ambari Deployments, Problem & Solution in Ambari,Ambari known issues","breadcrumb":{"@id":"https:\/\/data-flair.training\/blogs\/troubleshooting-ambari\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/data-flair.training\/blogs\/troubleshooting-ambari\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/data-flair.training\/blogs\/troubleshooting-ambari\/#primaryimage","url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/08\/Troubleshooting-Ambari-Resolving-General-Problems-01-1.jpg","contentUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/08\/Troubleshooting-Ambari-Resolving-General-Problems-01-1.jpg","width":1200,"height":628,"caption":"Troubleshooting Ambari - Resolving General Problems"},{"@type":"BreadcrumbList","@id":"https:\/\/data-flair.training\/blogs\/troubleshooting-ambari\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog Home","item":"https:\/\/data-flair.training\/blogs\/"},{"@type":"ListItem","position":2,"name":"situation of Calling Methods in java","item":"https:\/\/data-flair.training\/blogs\/tag\/situation-of-calling-methods-in-java\/"},{"@type":"ListItem","position":3,"name":"Troubleshooting Ambari &#8211; Resolving General Problems"}]},{"@type":"WebSite","@id":"https:\/\/data-flair.training\/blogs\/#website","url":"https:\/\/data-flair.training\/blogs\/","name":"DataFlair","description":"Learn Today. Lead Tomorrow.","publisher":{"@id":"https:\/\/data-flair.training\/blogs\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/data-flair.training\/blogs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/data-flair.training\/blogs\/#organization","name":"DataFlair","url":"https:\/\/data-flair.training\/blogs\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/logo\/image\/","url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/07\/Data-Flair.png","contentUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/07\/Data-Flair.png","width":106,"height":48,"caption":"DataFlair"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/DataFlairWS\/","https:\/\/x.com\/DataFlairWS","https:\/\/www.linkedin.com\/company\/dataflair-web-services-pvt-ltd\/","https:\/\/www.youtube.com\/user\/DataFlairWS"]},{"@type":"Person","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/person\/2c58ecb4f73a39f0ef993f1ddfcd7b89","name":"DataFlair Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/1ce4a0e3e542444fc73bbebf83e89e8b73e2d95ccb1fcee64da9945f078b97c5?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/1ce4a0e3e542444fc73bbebf83e89e8b73e2d95ccb1fcee64da9945f078b97c5?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/1ce4a0e3e542444fc73bbebf83e89e8b73e2d95ccb1fcee64da9945f078b97c5?s=96&d=mm&r=g","caption":"DataFlair Team"},"description":"The DataFlair Team provides industry-driven content on programming, Java, Python, C++, DSA, AI, ML, data Science, Android, Flutter, MERN, Web Development, and technology. Our expert educators focus on delivering value-packed, easy-to-follow resources for tech enthusiasts and professionals.","url":"https:\/\/data-flair.training\/blogs\/author\/dfteam2\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/24003","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/comments?post=24003"}],"version-history":[{"count":0,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/24003\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media\/26400"}],"wp:attachment":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media?parent=24003"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/categories?post=24003"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/tags?post=24003"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}