<?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 Re: BUG REPORT (with fix): metadata server is missing a jar required for S3 metadata extraction in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/BUG-REPORT-with-fix-metadata-server-is-missing-a-jar/m-p/52257#M56609</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Our engineering teams have confirmed the conditions you have identified. We expect corrections to be availble in future releases.&lt;/P&gt;</description>
    <pubDate>Thu, 16 Mar 2017 20:00:39 GMT</pubDate>
    <dc:creator>lhebert</dc:creator>
    <dc:date>2017-03-16T20:00:39Z</dc:date>
    <item>
      <title>BUG REPORT (with fix): metadata server is missing a jar required for S3 metadata extraction</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/BUG-REPORT-with-fix-metadata-server-is-missing-a-jar/m-p/51933#M56602</link>
      <description>&lt;P&gt;I followed all the instructions here:&amp;nbsp;&lt;A href="https://www.cloudera.com/documentation/enterprise/latest/topics/navigator_s3.html" target="_blank"&gt;https://www.cloudera.com/documentation/enterprise/latest/topics/navigator_s3.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Things weren't working and I noticed that the metadata server was logging&amp;nbsp;an exception:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Host: FOO
File: /var/log/cloudera-scm-navigator/mgmt-cmf-mgmt-NAVIGATORMETASERVER-FOO.log.out

[ExtractorServicePoller-0]: Unable to execute task
java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: com/mysql/jdbc/StringUtils
	at java.util.concurrent.FutureTask.report(FutureTask.java:122)
	at java.util.concurrent.FutureTask.get(FutureTask.java:192)
	at com.cloudera.nav.extract.ExtractorScheduler.removeCompletedTasks(ExtractorScheduler.java:214)
	at com.cloudera.nav.extract.ExtractorScheduler.poll(ExtractorScheduler.java:154)
	at com.cloudera.nav.extract.ExtractorScheduler.poll(ExtractorScheduler.java:149)
	at com.cloudera.nav.extract.ExtractorScheduler.access$000(ExtractorScheduler.java:50)
	at com.cloudera.nav.extract.ExtractorScheduler$1.run(ExtractorScheduler.java:94)
	at com.cloudera.nav.extract.ExtractorScheduler$RefreshPollPeriod.run(ExtractorScheduler.java:278)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NoClassDefFoundError: com/mysql/jdbc/StringUtils
	at com.cloudera.nav.s3.AwsRegionUtils.getBucketRegionViaS3Api(AwsRegionUtils.java:15)
	at com.cloudera.nav.s3.extractor.S3ExtractorTaskFactory.getIncrementalEnabledTasks(S3ExtractorTaskFactory.java:79)
	at com.cloudera.nav.s3.extractor.S3ExtractorTaskFactory.getTasks(S3ExtractorTaskFactory.java:59)
	at com.cloudera.nav.s3.extractor.S3ExtractorRunnable.run(S3ExtractorRunnable.java:109)
	at com.cloudera.nav.s3.extractor.S3ExtractorFactory$S3TasksSequentialRunnable.run(S3ExtractorFactory.java:186)
	at com.cloudera.nav.extract.ExtractorScheduler$ErrorLoggingRunnable.run(ExtractorScheduler.java:249)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	... 3 more&lt;/PRE&gt;&lt;P&gt;Essentially a missing class.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I poked around on the node and coudln't find any mysql jars, so I took matters into my own hands:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Download the mysql connector from here: &lt;A href="https://dev.mysql.com/downloads/file/?id=468319" target="_blank"&gt;https://dev.mysql.com/downloads/file/?id=468319&lt;/A&gt;&lt;BR /&gt;2. Exctract it.&lt;BR /&gt;3. scp mysql-connector-java-5.1.41-bin.jar to /usr/share/cmf/cloudera-navigator-server/jars/&lt;BR /&gt;4. Restart the metadata server.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Things work great. Navigator shows S3 as a data source now.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Mar 2017 22:51:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/BUG-REPORT-with-fix-metadata-server-is-missing-a-jar/m-p/51933#M56602</guid>
      <dc:creator>gdusbabek</dc:creator>
      <dc:date>2017-03-08T22:51:13Z</dc:date>
    </item>
    <item>
      <title>Re: BUG REPORT (with fix): metadata server is missing a jar required for S3 metadata extraction</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/BUG-REPORT-with-fix-metadata-server-is-missing-a-jar/m-p/51982#M56603</link>
      <description>BTW, this was with CDH 5.10.0 with latest CM and Navigator versions.</description>
      <pubDate>Thu, 09 Mar 2017 13:48:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/BUG-REPORT-with-fix-metadata-server-is-missing-a-jar/m-p/51982#M56603</guid>
      <dc:creator>gdusbabek</dc:creator>
      <dc:date>2017-03-09T13:48:40Z</dc:date>
    </item>
    <item>
      <title>Re: BUG REPORT (with fix): metadata server is missing a jar required for S3 metadata extraction</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/BUG-REPORT-with-fix-metadata-server-is-missing-a-jar/m-p/52163#M56604</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for reaching out to us on this issue. I'll pass this information along however you should note that we do not provide nor ship the odbc/jdbc connectors for a variety of database types. When you are installing Navigator and several other services our documentation does reference the need to obtain and install the proper database driver in order for services to work. This may be slightly more difficult to locate in our documentation unfrotunately. It certainly does not appear in the S3 documnetation you referenced.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.cloudera.com/documentation/enterprise/latest/topics/cm_ig_install_path_b.html#cmig_topic_6_6_1__section_gkr_z31_v5" target="_blank"&gt;https://www.cloudera.com/documentation/enterprise/latest/topics/cm_ig_install_path_b.html#cmig_topic_6_6_1__section_gkr_z31_v5&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.cloudera.com/documentation/enterprise/latest/topics/cm_ig_mysql.html#cmig_topic_5_5" target="_blank"&gt;https://www.cloudera.com/documentation/enterprise/latest/topics/cm_ig_mysql.html#cmig_topic_5_5&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.cloudera.com/documentation/enterprise/latest/topics/cm_ig_mysql.html#cmig_topic_5_5_3" target="_blank"&gt;https://www.cloudera.com/documentation/enterprise/latest/topics/cm_ig_mysql.html#cmig_topic_5_5_3&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Mar 2017 15:29:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/BUG-REPORT-with-fix-metadata-server-is-missing-a-jar/m-p/52163#M56604</guid>
      <dc:creator>lhebert</dc:creator>
      <dc:date>2017-03-14T15:29:50Z</dc:date>
    </item>
    <item>
      <title>Re: BUG REPORT (with fix): metadata server is missing a jar required for S3 metadata extraction</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/BUG-REPORT-with-fix-metadata-server-is-missing-a-jar/m-p/52166#M56605</link>
      <description>&lt;P&gt;&amp;gt;&amp;nbsp;&lt;SPAN&gt;you should note that we do not provide nor ship the odbc/jdbc connectors for a variety of database types. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sure, that makes sense. I but I just want to point out that the Cloudera s3 code has a hard functional dependency on a class provided by Mysql, which is kind of silly when you think about it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Bear in mind, that nowhere in mystack is a running instance of Mysql. There shouldn't be any need for this dependency.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I had to venture a guess, I'd say that an errant dev accidentally introduced the dependency while trying to use another StringUtils library.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Mar 2017 16:34:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/BUG-REPORT-with-fix-metadata-server-is-missing-a-jar/m-p/52166#M56605</guid>
      <dc:creator>gdusbabek</dc:creator>
      <dc:date>2017-03-14T16:34:23Z</dc:date>
    </item>
    <item>
      <title>Re: BUG REPORT (with fix): metadata server is missing a jar required for S3 metadata extraction</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/BUG-REPORT-with-fix-metadata-server-is-missing-a-jar/m-p/52172#M56606</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The log data you provided points the following service.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;mgmt-cmf-mgmt-NAVIGATORMETASERVER&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This services requires a database backend such as Oracle, MySQL, or PostgreSQL. The database is usually defined and matched to what is used directly by Cloudera Manager though it can be configured seperately.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When you followed the documentation to enable S3 with navigator you essentailly enabled a plugin set which allows&amp;nbsp;you to use&lt;SPAN&gt;&amp;nbsp;Navigator to view technical metadata, assign business metadata, and view lineage for S3 objects on your cluster. The meta information is stored in a backing database of some type. Can you please review the configuration of the Cloudera Management Services and let me know what type of database is listed there? I am not aware of a hard requirement for the mySQL driver but rather there is a requirement based on the type of backing database the service is trying to use to store information.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;Cloudera Manager -&amp;gt; Cloudera Management Service -&amp;gt; Configuration -&amp;gt; Database -&amp;gt;&amp;nbsp;Navigator Metadata Server Database Type&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If this is something other than mySQL then I think we are on the right path for me to submit information to our engineering teams.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Mar 2017 17:27:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/BUG-REPORT-with-fix-metadata-server-is-missing-a-jar/m-p/52172#M56606</guid>
      <dc:creator>lhebert</dc:creator>
      <dc:date>2017-03-14T17:27:42Z</dc:date>
    </item>
    <item>
      <title>Re: BUG REPORT (with fix): metadata server is missing a jar required for S3 metadata extraction</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/BUG-REPORT-with-fix-metadata-server-is-missing-a-jar/m-p/52174#M56607</link>
      <description>&lt;P&gt;&lt;SPAN&gt;navms.db.type is configured to be&amp;nbsp;a PostgreSQL instance.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Mar 2017 18:12:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/BUG-REPORT-with-fix-metadata-server-is-missing-a-jar/m-p/52174#M56607</guid>
      <dc:creator>gdusbabek</dc:creator>
      <dc:date>2017-03-14T18:12:13Z</dc:date>
    </item>
    <item>
      <title>Re: BUG REPORT (with fix): metadata server is missing a jar required for S3 metadata extraction</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/BUG-REPORT-with-fix-metadata-server-is-missing-a-jar/m-p/52176#M56608</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the information you have provided. I have created an internal case to investigate this. If we have any additional questions we weill attempt to reach out to you directly. If you are a licensed customer you may also submit a case or contact a member of your account team.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Mar 2017 18:22:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/BUG-REPORT-with-fix-metadata-server-is-missing-a-jar/m-p/52176#M56608</guid>
      <dc:creator>lhebert</dc:creator>
      <dc:date>2017-03-14T18:22:10Z</dc:date>
    </item>
    <item>
      <title>Re: BUG REPORT (with fix): metadata server is missing a jar required for S3 metadata extraction</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/BUG-REPORT-with-fix-metadata-server-is-missing-a-jar/m-p/52257#M56609</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Our engineering teams have confirmed the conditions you have identified. We expect corrections to be availble in future releases.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Mar 2017 20:00:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/BUG-REPORT-with-fix-metadata-server-is-missing-a-jar/m-p/52257#M56609</guid>
      <dc:creator>lhebert</dc:creator>
      <dc:date>2017-03-16T20:00:39Z</dc:date>
    </item>
  </channel>
</rss>

