<?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: Hive PreUpgradeTool failed -  No FileSystem for scheme: hdfs in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Hive-PreUpgradeTool-failed-No-FileSystem-for-scheme-hdfs/m-p/235359#M197173</link>
    <description>&lt;P&gt;I managed to solve this issue. The problem was with /usr/hdp/current/hadoop-hdfs path, this did not exist. I had to use other path - /usr/hdp/2.6.3.0-235/hadoop-hdfs&lt;/P&gt;</description>
    <pubDate>Tue, 06 Nov 2018 17:13:45 GMT</pubDate>
    <dc:creator>Toivo_Tammus1</dc:creator>
    <dc:date>2018-11-06T17:13:45Z</dc:date>
    <item>
      <title>Hive PreUpgradeTool failed -  No FileSystem for scheme: hdfs</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-PreUpgradeTool-failed-No-FileSystem-for-scheme-hdfs/m-p/235358#M197172</link>
      <description>&lt;P&gt;I am trying to upgrade my HDP cluster to version 3.0.1. I already managed to upgrade Ambari to version 2.7.1.0, but I am failing next step - running Hive PreUpgradeTool:&lt;/P&gt;&lt;P&gt;$JAVA_HOME/bin/java -Djavax.security.auth.useSubjectCredsOnly=false -cp /usr/hdp/current/hive-server2-hive2/lib/derby-10.10.2.0.jar:/usr/hdp/current/hive-server2-hive2/lib/*:/usr/hdp/current/hadoop/*:/usr/hdp/current/hadoop/lib/*:/usr/hdp/current/hadoop-mapreduce-client/*:/usr/hdp/current/hadoop-mapreduce-client/lib/*:/usr/hdp/current/hadoop-hdfs/*:/usr/hdp/current/hadoop-hdfs/lib/*:/usr/hdp/current/hadoop/etc/hadoop/*:/tmp/hive-pre-upgrade-3.1.0.3.0.1.0-187.jar:/usr/hdp/current/hive-client/conf/:/usr/hdp/current/hive-metastore/lib/hive-metastore.jar:/usr/hdp/current/hive-metastore/lib/libthrift-0.9.3.jar:/usr/hdp/current/hadoop-client/hadoop-common.jar:/usr/hdp/current/hive-client/lib/hive-common.jar:/usr/hdp/current/hive-client/lib/commons-cli-1.2.jar:/usr/hdp/current/hadoop-client/lib/* org.apache.hadoop.hive.upgrade.acid.PreUpgradeTool -execute&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;********&lt;BR /&gt;
&lt;/P&gt;&lt;P&gt;END========"new HiveConf()"========&lt;/P&gt;&lt;P&gt;Found Acid table: com.nkscale_vehicle_weighing_result&lt;BR /&gt;2018-11-05T13:53:53,044 ERROR [main] org.apache.hadoop.hive.upgrade.acid.PreUpgradeTool - PreUpgradeTool failed&lt;BR /&gt;java.io.IOException: No FileSystem for scheme: hdfs&lt;BR /&gt;  at org.apache.hadoop.fs.FileSystem.getFileSystemClass(FileSystem.java:2786) ~[hadoop-common-2.7.3.2.6.3.0-235.jar:?]&lt;BR /&gt;  at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:2793) ~[hadoop-common-2.7.3.2.6.3.0-235.jar:?]&lt;BR /&gt;  at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:99) ~[hadoop-common-2.7.3.2.6.3.0-235.jar:?]&lt;BR /&gt;  at org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:2829) ~[hadoop-common-2.7.3.2.6.3.0-235.jar:?]&lt;BR /&gt;  at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:2811) ~[hadoop-common-2.7.3.2.6.3.0-235.jar:?]&lt;BR /&gt;  at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:390) ~[hadoop-common-2.7.3.2.6.3.0-235.jar:?]&lt;BR /&gt;  at org.apache.hadoop.fs.Path.getFileSystem(Path.java:295) ~[hadoop-common-2.7.3.2.6.3.0-235.jar:?]&lt;BR /&gt;  at org.apache.hadoop.hive.upgrade.acid.PreUpgradeTool.needsCompaction(PreUpgradeTool.java:480) ~[hive-pre-upgrade-3.1.0.3.0.1.0-187.jar:3.1.0.3.0.1.0-187]&lt;BR /&gt;  at org.apache.hadoop.hive.upgrade.acid.PreUpgradeTool.getCompactionCommands(PreUpgradeTool.java:400) ~[hive-pre-upgrade-3.1.0.3.0.1.0-187.jar:3.1.0.3.0.1.0-187]&lt;BR /&gt;  at org.apache.hadoop.hive.upgrade.acid.PreUpgradeTool.getCompactionCommands(PreUpgradeTool.java:390) ~[hive-pre-upgrade-3.1.0.3.0.1.0-187.jar:3.1.0.3.0.1.0-187]&lt;BR /&gt;  at org.apache.hadoop.hive.upgrade.acid.PreUpgradeTool.prepareAcidUpgradeInternal(PreUpgradeTool.java:251) ~[hive-pre-upgrade-3.1.0.3.0.1.0-187.jar:3.1.0.3.0.1.0-187]&lt;BR /&gt;  at org.apache.hadoop.hive.upgrade.acid.PreUpgradeTool.main(PreUpgradeTool.java:150) [hive-pre-upgrade-3.1.0.3.0.1.0-187.jar:3.1.0.3.0.1.0-187]&lt;BR /&gt;Exception in thread "main" java.io.IOException: No FileSystem for scheme: hdfs&lt;BR /&gt;  at org.apache.hadoop.fs.FileSystem.getFileSystemClass(FileSystem.java:2786)&lt;BR /&gt;  at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:2793)&lt;BR /&gt;  at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:99)&lt;BR /&gt;  at org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:2829)&lt;BR /&gt;  at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:2811)&lt;BR /&gt;  at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:390)&lt;BR /&gt;  at org.apache.hadoop.fs.Path.getFileSystem(Path.java:295)&lt;BR /&gt;  at org.apache.hadoop.hive.upgrade.acid.PreUpgradeTool.needsCompaction(PreUpgradeTool.java:480)&lt;BR /&gt;  at org.apache.hadoop.hive.upgrade.acid.PreUpgradeTool.getCompactionCommands(PreUpgradeTool.java:400)&lt;BR /&gt;  at org.apache.hadoop.hive.upgrade.acid.PreUpgradeTool.getCompactionCommands(PreUpgradeTool.java:390)&lt;BR /&gt;  at org.apache.hadoop.hive.upgrade.acid.PreUpgradeTool.prepareAcidUpgradeInternal(PreUpgradeTool.java:251)&lt;BR /&gt;  at org.apache.hadoop.hive.upgrade.acid.PreUpgradeTool.main(PreUpgradeTool.java:150)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;HDP version is 2.6.3. What could be wrong and how to get past this error?&lt;/P&gt;</description>
      <pubDate>Mon, 05 Nov 2018 21:39:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-PreUpgradeTool-failed-No-FileSystem-for-scheme-hdfs/m-p/235358#M197172</guid>
      <dc:creator>Toivo_Tammus1</dc:creator>
      <dc:date>2018-11-05T21:39:26Z</dc:date>
    </item>
    <item>
      <title>Re: Hive PreUpgradeTool failed -  No FileSystem for scheme: hdfs</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-PreUpgradeTool-failed-No-FileSystem-for-scheme-hdfs/m-p/235359#M197173</link>
      <description>&lt;P&gt;I managed to solve this issue. The problem was with /usr/hdp/current/hadoop-hdfs path, this did not exist. I had to use other path - /usr/hdp/2.6.3.0-235/hadoop-hdfs&lt;/P&gt;</description>
      <pubDate>Tue, 06 Nov 2018 17:13:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-PreUpgradeTool-failed-No-FileSystem-for-scheme-hdfs/m-p/235359#M197173</guid>
      <dc:creator>Toivo_Tammus1</dc:creator>
      <dc:date>2018-11-06T17:13:45Z</dc:date>
    </item>
  </channel>
</rss>

