<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Metron Management UI cannot be accessed in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Metron-Management-UI-cannot-be-accessed/m-p/191746#M70991</link>
    <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="43512-metronerrorpng.png" style="width: 767px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/18399iD864531104A021CE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="43512-metronerrorpng.png" alt="43512-metronerrorpng.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;As shown in the attachment, this i get this error when trying to login the metron mangement ui. All of the the metron services are running and there is no notification of error. How to solve this or any suggestion on methods that i can use to better understand this error?&lt;/P&gt;&lt;P&gt;It seems that there is no connection between the the metron management ui and the mysql database. I have followed the method to set up REST as describe in &lt;A target="_blank" href="https://cwiki.apache.org/confluence/display/METRON/Metron+0.4.1+with+HDP+2.5+bare-metal+install+on+Centos+7+with+MariaDB+for+Metron+REST" rel="nofollow noopener noreferrer"&gt;Metron Installation Guide&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Thank you. &lt;/P&gt;</description>
    <pubDate>Sun, 18 Aug 2019 07:23:54 GMT</pubDate>
    <dc:creator>befakenotreal</dc:creator>
    <dc:date>2019-08-18T07:23:54Z</dc:date>
    <item>
      <title>Metron Management UI cannot be accessed</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Metron-Management-UI-cannot-be-accessed/m-p/191746#M70991</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="43512-metronerrorpng.png" style="width: 767px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/18399iD864531104A021CE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="43512-metronerrorpng.png" alt="43512-metronerrorpng.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;As shown in the attachment, this i get this error when trying to login the metron mangement ui. All of the the metron services are running and there is no notification of error. How to solve this or any suggestion on methods that i can use to better understand this error?&lt;/P&gt;&lt;P&gt;It seems that there is no connection between the the metron management ui and the mysql database. I have followed the method to set up REST as describe in &lt;A target="_blank" href="https://cwiki.apache.org/confluence/display/METRON/Metron+0.4.1+with+HDP+2.5+bare-metal+install+on+Centos+7+with+MariaDB+for+Metron+REST" rel="nofollow noopener noreferrer"&gt;Metron Installation Guide&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Thank you. &lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 07:23:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Metron-Management-UI-cannot-be-accessed/m-p/191746#M70991</guid>
      <dc:creator>befakenotreal</dc:creator>
      <dc:date>2019-08-18T07:23:54Z</dc:date>
    </item>
    <item>
      <title>Re: Metron Management UI cannot be accessed</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Metron-Management-UI-cannot-be-accessed/m-p/191747#M70992</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/48258/befakenotreal.html" nodeid="48258"&gt;@new data&lt;/A&gt;
&lt;P&gt;
	do you see any failures in either the rest or managementui logs at /var/log/metron? 
&lt;/P&gt;
&lt;P&gt;
	Also, if you were to do a quick troubleshooting to isolate if MySQL has been setup properly, you can try the following. Go to Ambari UI -&amp;gt; Metron -&amp;gt; Config. Set the following parameters with values mentioned.
&lt;/P&gt;
&lt;PRE&gt;
Metron JDBC Driver = org.h2.Driver
Metron JDBC password = root
Metron JDBC platform = h2
Metron JDBC URL = jdbc:h2:file:~/metrondb
Metron JDBC username = root
Active Spring profiles = dev
&lt;/PRE&gt;
&lt;P&gt;
	Restart the REST and Management UI services, fire up management UI and login using the credentials &lt;CODE&gt;admin/password&lt;/CODE&gt;.
&lt;/P&gt;</description>
      <pubDate>Wed, 08 Nov 2017 22:32:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Metron-Management-UI-cannot-be-accessed/m-p/191747#M70992</guid>
      <dc:creator>asubramanian</dc:creator>
      <dc:date>2017-11-08T22:32:24Z</dc:date>
    </item>
    <item>
      <title>Re: Metron Management UI cannot be accessed</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Metron-Management-UI-cannot-be-accessed/m-p/191748#M70993</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/11832/asubramanian.html" nodeid="11832"&gt;@asubramanian&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/11832/asubramanian.html" nodeid="11832"&gt;&lt;/A&gt;in the rest log with my current REST settings only this is stated,&lt;/P&gt;&lt;P&gt;Error: Could not find or load main class .usr.share.java.mysql-connector-java.jar:.usr.metron.0.4.1.lib.metron-elasticsearch-0.4.1-uber.jar&lt;/P&gt;&lt;P&gt;My metron REST settings is based on this as stated in &lt;A target="_blank" href="https://cwiki.apache.org/confluence/display/METRON/Metron+0.4.1+with+HDP+2.5+bare-metal+install+on+Centos+7+with+MariaDB+for+Metron+REST"&gt;MetronInstallation&lt;/A&gt;&lt;/P&gt;&lt;PRE&gt;Metron JDBC client path: /usr/share/java/mysql-connector-java.jar
Metron JDBC Driver: com.mysql.jdbc.Driver
Metron JDBC password: &amp;lt;DB PASSWORD&amp;gt;
Metron JDBC platform: mysql
Metron JDBC URL: jdbc:mysql://127.0.0.1:3306/&amp;lt;DB NAME&amp;gt;
Metron JDBC username: &amp;lt;DB USERNAME&amp;gt;&lt;/PRE&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;I tried your settings of metron rest, it returns that the org.h2.Driver cannot be found and some other errors&lt;/P&gt;</description>
      <pubDate>Thu, 09 Nov 2017 13:34:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Metron-Management-UI-cannot-be-accessed/m-p/191748#M70993</guid>
      <dc:creator>befakenotreal</dc:creator>
      <dc:date>2017-11-09T13:34:55Z</dc:date>
    </item>
    <item>
      <title>Re: Metron Management UI cannot be accessed</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Metron-Management-UI-cannot-be-accessed/m-p/191749#M70994</link>
      <description>&lt;P&gt;
	&lt;A rel="user" href="https://community.cloudera.com/users/48258/befakenotreal.html" nodeid="48258"&gt;@new data&lt;/A&gt;&lt;/P&gt;&lt;P&gt;
	The following error suggests that you might not have the JDBC connector properly configured&lt;/P&gt;&lt;BLOCKQUOTE&gt;
	
&lt;P&gt;
		Error: Could not find or load main class .usr.share.java.mysql-connector-java.jar:.usr.metron.0.4.1.lib.metron-elasticsearch-0.4.1-uber.jar
	&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;
	Can you check if you are able to locate the file 
	&lt;CODE&gt;/usr/share/java/mysql-connector-java.jar&lt;/CODE&gt; on the metron host? Also in your error message, I wonder why are you seeing dots "." in the file path. Can you recheck that as well?&lt;/P&gt;&lt;P&gt;As for the default H2 driver, it should work out of the box without issues. Can you paste these few details to troubleshoot further:&lt;/P&gt;&lt;P&gt;* Which version of Metron are you using? &lt;/P&gt;&lt;P&gt;* What type? Full-dev or bare-metal? &lt;/P&gt;&lt;P&gt;* Test environment - how many nodes?&lt;/P&gt;</description>
      <pubDate>Fri, 10 Nov 2017 14:42:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Metron-Management-UI-cannot-be-accessed/m-p/191749#M70994</guid>
      <dc:creator>asubramanian</dc:creator>
      <dc:date>2017-11-10T14:42:37Z</dc:date>
    </item>
    <item>
      <title>Re: Metron Management UI cannot be accessed</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Metron-Management-UI-cannot-be-accessed/m-p/191750#M70995</link>
      <description>&lt;P&gt;&lt;A href="https://community.hortonworks.com/users/11832/asubramanian.html"&gt;@asubramanian&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The mysql-connector-java.jar is there. I am not sure why the "." is in the file path as i already set the path with "/".&lt;/P&gt;&lt;P&gt;I am using metron 0.4.1, bare-metal and trying out metron on single node. &lt;/P&gt;</description>
      <pubDate>Sat, 11 Nov 2017 09:42:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Metron-Management-UI-cannot-be-accessed/m-p/191750#M70995</guid>
      <dc:creator>befakenotreal</dc:creator>
      <dc:date>2017-11-11T09:42:46Z</dc:date>
    </item>
    <item>
      <title>Re: Metron Management UI cannot be accessed</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Metron-Management-UI-cannot-be-accessed/m-p/191751#M70996</link>
      <description>&lt;BLOCKQUOTE&gt;The mysql-connector-java.jar is there. I am not sure why the "." is in the file path as i already set the path with "/".&lt;/BLOCKQUOTE&gt;&lt;P&gt;Hmm.. this is strange indeed. How did you set the path? through the Ambari UI or by editing the config files on the host?&lt;/P&gt;&lt;P&gt;Can you post a screenshot of the Ambari UI -&amp;gt; Metron -&amp;gt; Configs -&amp;gt; REST tab details?&lt;/P&gt;</description>
      <pubDate>Sun, 12 Nov 2017 00:38:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Metron-Management-UI-cannot-be-accessed/m-p/191751#M70996</guid>
      <dc:creator>asubramanian</dc:creator>
      <dc:date>2017-11-12T00:38:10Z</dc:date>
    </item>
    <item>
      <title>Re: Metron Management UI cannot be accessed</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Metron-Management-UI-cannot-be-accessed/m-p/191752#M70997</link>
      <description>&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;Metron REST port&lt;/P&gt;&lt;P&gt;8082&lt;/P&gt;&lt;P&gt;Metron JDBC URL&lt;/P&gt;&lt;P&gt;jdbc:mysql://127.0.0.1:3306/ metronrest&lt;/P&gt;&lt;P&gt;Metron JDBC Driver&lt;/P&gt;&lt;P&gt;com.mysql.jdbc.Driver&lt;/P&gt;&lt;P&gt;Metron JDBC username&lt;/P&gt;&lt;P&gt;&amp;lt;mysql username&amp;gt;&lt;/P&gt;&lt;P&gt;Metron JDBC password&lt;/P&gt;&lt;DIV&gt;&amp;lt;mysql password&amp;gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;P&gt;Metron JDBC platform&lt;/P&gt;&lt;P&gt;mysql&lt;/P&gt;&lt;P&gt;Metron JDBC client path&lt;/P&gt;&lt;P&gt;/usr/share/java/mysql-connector-java.jar&lt;/P&gt;&lt;/DIV&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Sun, 12 Nov 2017 17:39:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Metron-Management-UI-cannot-be-accessed/m-p/191752#M70997</guid>
      <dc:creator>befakenotreal</dc:creator>
      <dc:date>2017-11-12T17:39:05Z</dc:date>
    </item>
    <item>
      <title>Re: Metron Management UI cannot be accessed</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Metron-Management-UI-cannot-be-accessed/m-p/191753#M70998</link>
      <description>&lt;P&gt;In your above reply, for the JDBC URL, I can there is a leading space before the DB name 'metronrest'. Can you correct this and give it a try? Maybe that is the one causing the issue.&lt;/P&gt;&lt;P&gt;Use:&lt;/P&gt;&lt;PRE&gt;jdbc:mysql://127.0.0.1:3306/metronrest&lt;/PRE&gt;&lt;P&gt;Instead of:&lt;/P&gt;&lt;PRE&gt;jdbc:mysql://127.0.0.1:3306/ metronrest&lt;/PRE&gt;</description>
      <pubDate>Mon, 13 Nov 2017 11:46:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Metron-Management-UI-cannot-be-accessed/m-p/191753#M70998</guid>
      <dc:creator>asubramanian</dc:creator>
      <dc:date>2017-11-13T11:46:08Z</dc:date>
    </item>
    <item>
      <title>Re: Metron Management UI cannot be accessed</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Metron-Management-UI-cannot-be-accessed/m-p/191754#M70999</link>
      <description>&lt;P&gt;yes the problem was there all along. The problem was not with the leading space (i accidentally add the leading space while posting the comment). The problem was actually with the port in the url. You have directed me towards the right source of the problem. It was a very weird problem as i have disable firewall and such in that virtual machine .I solved it by changing it to jdbc:mysql://node1/metronrest as i noticed that my hive service can create a table in the mysql database without using any port.&lt;/P&gt;&lt;P&gt;So thank you very much &lt;A href="https://community.hortonworks.com/users/11832/asubramanian.html"&gt;@asubramanian&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Nov 2017 11:38:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Metron-Management-UI-cannot-be-accessed/m-p/191754#M70999</guid>
      <dc:creator>befakenotreal</dc:creator>
      <dc:date>2017-11-14T11:38:51Z</dc:date>
    </item>
    <item>
      <title>Re: Metron Management UI cannot be accessed</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Metron-Management-UI-cannot-be-accessed/m-p/191755#M71000</link>
      <description>&lt;P&gt;Hey &lt;A rel="user" href="https://community.cloudera.com/users/48258/befakenotreal.html" nodeid="48258"&gt;@new data&lt;/A&gt;, glad to hear that you were able to resolve the issue!&lt;/P&gt;&lt;P&gt;Would you mind marking the answer as accepted ?&lt;/P&gt;</description>
      <pubDate>Tue, 14 Nov 2017 13:50:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Metron-Management-UI-cannot-be-accessed/m-p/191755#M71000</guid>
      <dc:creator>asubramanian</dc:creator>
      <dc:date>2017-11-14T13:50:09Z</dc:date>
    </item>
  </channel>
</rss>

