<?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 Nifi No FilesSystem for scheme: wasb in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-No-FilesSystem-for-scheme-wasb/m-p/158065#M29016</link>
    <description>&lt;P&gt;How can I configure Nifi to connect to HDInsight?&lt;/P&gt;&lt;P&gt;I’m getting the error “No FilesSystem for scheme: wasb” when
running Nifi PUT Hdfs command on a server attempting to connect to an HDInsight
cluster.&lt;/P&gt;&lt;P&gt;I tried to add the Hadoop-azure.jar in Nifi’s class path but
that caused a NoClassDefFoundError for apache hadoop fs filesystem.&lt;/P&gt;</description>
    <pubDate>Fri, 20 May 2016 11:02:21 GMT</pubDate>
    <dc:creator>brig_lamoreaux</dc:creator>
    <dc:date>2016-05-20T11:02:21Z</dc:date>
    <item>
      <title>Nifi No FilesSystem for scheme: wasb</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-No-FilesSystem-for-scheme-wasb/m-p/158065#M29016</link>
      <description>&lt;P&gt;How can I configure Nifi to connect to HDInsight?&lt;/P&gt;&lt;P&gt;I’m getting the error “No FilesSystem for scheme: wasb” when
running Nifi PUT Hdfs command on a server attempting to connect to an HDInsight
cluster.&lt;/P&gt;&lt;P&gt;I tried to add the Hadoop-azure.jar in Nifi’s class path but
that caused a NoClassDefFoundError for apache hadoop fs filesystem.&lt;/P&gt;</description>
      <pubDate>Fri, 20 May 2016 11:02:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-No-FilesSystem-for-scheme-wasb/m-p/158065#M29016</guid>
      <dc:creator>brig_lamoreaux</dc:creator>
      <dc:date>2016-05-20T11:02:21Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi No FilesSystem for scheme: wasb</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-No-FilesSystem-for-scheme-wasb/m-p/158066#M29017</link>
      <description>&lt;P&gt;Could you provide a snippet from your nifi-app log with the stack trace for this error? I suspect the problem is that your hadoop-azure.jar is built against the wrong version of hadoop. What is the source of this file?&lt;/P&gt;</description>
      <pubDate>Fri, 20 May 2016 16:57:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-No-FilesSystem-for-scheme-wasb/m-p/158066#M29017</guid>
      <dc:creator>sball</dc:creator>
      <dc:date>2016-05-20T16:57:59Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi No FilesSystem for scheme: wasb</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-No-FilesSystem-for-scheme-wasb/m-p/158067#M29018</link>
      <description>&lt;P&gt;I'm not totally sure if this is the problem, but given that NiFi has NARs with isolated class loading, adding something to the classpath usually isn't as simple as dropping it in the lib directory.&lt;/P&gt;&lt;P&gt;The hadoop libraries NAR would be unpacked to this location:&lt;/P&gt;&lt;P&gt;work/nar/extensions/nifi-hadoop-libraries-nar-&amp;lt;VERSION&amp;gt;.nar-unpacked/META-INF/bundled-dependencies/&lt;/P&gt;&lt;P&gt;You could trying putting the hadoop-azure.jar there, keeping in mind that if the work directory was removed, NiFi would unpack the original NAR again without your added jar.&lt;/P&gt;&lt;P&gt;Some have had success creating a custom version of the hadoop libraries NAR to switch to other libraries:&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/bbukacek/nifi-hadoop-libraries-bundle" target="_blank"&gt;https://github.com/bbukacek/nifi-hadoop-libraries-bundle&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Right now Apache NiFi is based on Apache Hadoop 2.6.2.&lt;/P&gt;</description>
      <pubDate>Sat, 21 May 2016 00:05:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-No-FilesSystem-for-scheme-wasb/m-p/158067#M29018</guid>
      <dc:creator>bbende</dc:creator>
      <dc:date>2016-05-21T00:05:43Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi No FilesSystem for scheme: wasb</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-No-FilesSystem-for-scheme-wasb/m-p/158068#M29019</link>
      <description>&lt;P&gt;Would dropping things on the bootstrap dir ensure they are on a system classpath maybe?&lt;/P&gt;</description>
      <pubDate>Sat, 21 May 2016 01:53:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-No-FilesSystem-for-scheme-wasb/m-p/158068#M29019</guid>
      <dc:creator>andrewg</dc:creator>
      <dc:date>2016-05-21T01:53:58Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi No FilesSystem for scheme: wasb</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-No-FilesSystem-for-scheme-wasb/m-p/158069#M29020</link>
      <description>&lt;P&gt;2016-05-24 23:53:52,326 WARN [StandardProcessScheduler Thread-1] org.apache.hadoop.util.NativeCodeLoader Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
2016-05-24 23:53:52,498 INFO [Flow Service Tasks Thread-1] o.a.nifi.controller.StandardFlowService Saved flow controller org.apache.nifi.controller.FlowController@5c6cae55 // Another save pending = false
2016-05-24 23:53:52,767 ERROR [StandardProcessScheduler Thread-1] o.apache.nifi.processors.hadoop.PutHDFS PutHDFS[id=0a8eeb51-4937-4dfc-a7f4-9c2bce921d0c] PutHDFS[id=0a8eeb51-4937-4dfc-a7f4-9c2bce921d0c] failed to invoke @OnScheduled method due to java.lang.RuntimeException: Failed while executing one of processor's OnScheduled task.; processor will not be scheduled to run for 30000 milliseconds: java.lang.RuntimeException: Failed while executing one of processor's OnScheduled task.
2016-05-24 23:53:52,785 ERROR [StandardProcessScheduler Thread-1] o.apache.nifi.processors.hadoop.PutHDFS
java.lang.RuntimeException: Failed while executing one of processor's OnScheduled task.
  at org.apache.nifi.controller.StandardProcessorNode.invokeTaskAsCancelableFuture(StandardProcessorNode.java:1405) ~[na:na]
  at org.apache.nifi.controller.StandardProcessorNode.access$100(StandardProcessorNode.java:89) ~[na:na]
  at org.apache.nifi.controller.StandardProcessorNode$1.run(StandardProcessorNode.java:1243) ~[na:na]
  at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [na:1.8.0_91]
  at java.util.concurrent.FutureTask.run(FutureTask.java:266) [na:1.8.0_91]
  at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) [na:1.8.0_91]
  at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [na:1.8.0_91]
  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_91]
  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_91]
  at java.lang.Thread.run(Thread.java:745) [na:1.8.0_91]
Caused by: java.util.concurrent.ExecutionException: java.lang.reflect.InvocationTargetException
  at java.util.concurrent.FutureTask.report(FutureTask.java:122) [na:1.8.0_91]
  at java.util.concurrent.FutureTask.get(FutureTask.java:206) [na:1.8.0_91]
  at org.apache.nifi.controller.StandardProcessorNode.invokeTaskAsCancelableFuture(StandardProcessorNode.java:1388) ~[na:na]
  ... 9 common frames omitted
Caused by: java.lang.reflect.InvocationTargetException: null
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_91]
  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_91]
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_91]
  at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_91]
  at org.apache.nifi.util.ReflectionUtils.invokeMethodsWithAnnotations(ReflectionUtils.java:137) ~[na:na]
  at org.apache.nifi.util.ReflectionUtils.invokeMethodsWithAnnotations(ReflectionUtils.java:125) ~[na:na]
  at org.apache.nifi.util.ReflectionUtils.invokeMethodsWithAnnotations(ReflectionUtils.java:70) ~[na:na]
  at org.apache.nifi.controller.StandardProcessorNode$1$1.call(StandardProcessorNode.java:1247) ~[na:na]
  at org.apache.nifi.controller.StandardProcessorNode$1$1.call(StandardProcessorNode.java:1243) ~[na:na]
  ... 6 common frames omitted
Caused by: java.lang.NoClassDefFoundError: org/apache/hadoop/fs/FileSystem
 ...
 &lt;/P&gt;</description>
      <pubDate>Wed, 25 May 2016 06:58:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-No-FilesSystem-for-scheme-wasb/m-p/158069#M29020</guid>
      <dc:creator>brig_lamoreaux</dc:creator>
      <dc:date>2016-05-25T06:58:29Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi No FilesSystem for scheme: wasb</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-No-FilesSystem-for-scheme-wasb/m-p/158070#M29021</link>
      <description>&lt;P&gt;Hi Bryan, turns out after dropping the Hadoop-azure.jar in the nar directory ... I get a new error: &lt;/P&gt;&lt;P&gt;Caused by: java.lang.NoClassDefFoundError: com/microsoft/azure/storage/blob/BlobListingDetails
  at org.apache.hadoop.fs.azure.NativeAzureFileSystem.createDefaultStore(NativeAzureFileSystem.java:1064) ~[na:na]
  at org.apache.hadoop.fs.azure.NativeAzureFileSystem.initialize(NativeAzureFileSystem.java:1035) ~[na:na]
  at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:2596) ~[na:na]
  at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:91) ~[na:na]
  at org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:2630) ~[na:na]
  at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:2612) ~[na:na]
  at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:370) ~[na:na]
  at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:169) ~[na:na]
  at org.apache.nifi.processors.hadoop.AbstractHadoopProcessor$1.run(AbstractHadoopProcessor.java:305) ~[na:na]
  at org.apache.nifi.processors.hadoop.AbstractHadoopProcessor$1.run(AbstractHadoopProcessor.java:302) ~[na:na]
  at java.security.AccessController.doPrivileged(Native Method) ~[na:1.8.0_91]
  at javax.security.auth.Subject.doAs(Subject.java:422) ~[na:1.8.0_91]
  at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1656) ~[na:na]
  at org.apache.nifi.processors.hadoop.AbstractHadoopProcessor.getFileSystemAsUser(AbstractHadoopProcessor.java:302) ~[na:na]
  at org.apache.nifi.processors.hadoop.AbstractHadoopProcessor.resetHDFSResources(AbstractHadoopProcessor.java:274) ~[na:na]
  at org.apache.nifi.processors.hadoop.AbstractHadoopProcessor.abstractOnScheduled(AbstractHadoopProcessor.java:196) ~[na:na]
  at org.apache.nifi.processors.hadoop.PutHDFS.onScheduled(PutHDFS.java:177) ~[na:na]&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;U&gt;&lt;/U&gt;&lt;SUB&gt;&lt;/SUB&gt;&lt;SUP&gt;&lt;/SUP&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 25 May 2016 07:04:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-No-FilesSystem-for-scheme-wasb/m-p/158070#M29021</guid>
      <dc:creator>brig_lamoreaux</dc:creator>
      <dc:date>2016-05-25T07:04:38Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi No FilesSystem for scheme: wasb</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-No-FilesSystem-for-scheme-wasb/m-p/158071#M29022</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/173/agrande.html" nodeid="173"&gt;@Andrew Grande&lt;/A&gt;&lt;P&gt; It looks like the Hadoop-azure.jar is getting picked up ... but apparently there are other dependencies that are missing&lt;/P&gt;</description>
      <pubDate>Wed, 25 May 2016 07:05:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-No-FilesSystem-for-scheme-wasb/m-p/158071#M29022</guid>
      <dc:creator>brig_lamoreaux</dc:creator>
      <dc:date>2016-05-25T07:05:38Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi No FilesSystem for scheme: wasb</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-No-FilesSystem-for-scheme-wasb/m-p/158072#M29023</link>
      <description>&lt;P&gt;This most likely means there is another JAR you need to add... &lt;/P&gt;&lt;P&gt;If you look at the pom file for the hadoop-azure JAR:&lt;/P&gt;&lt;P&gt;&lt;A href="http://central.maven.org/maven2/org/apache/hadoop/hadoop-azure/2.7.0/hadoop-azure-2.7.0.pom"&gt;http://central.maven.org/maven2/org/apache/hadoop/hadoop-azure/2.7.0/hadoop-azure-2.7.0.pom&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You can see all the dependencies it needs:&lt;/P&gt;&lt;PRE&gt;&amp;lt;dependency&amp;gt;
&amp;lt;groupId&amp;gt;org.apache.hadoop&amp;lt;/groupId&amp;gt;
&amp;lt;artifactId&amp;gt;hadoop-common&amp;lt;/artifactId&amp;gt;
&amp;lt;scope&amp;gt;compile&amp;lt;/scope&amp;gt;
&amp;lt;/dependency&amp;gt;

&amp;lt;dependency&amp;gt;
&amp;lt;groupId&amp;gt;com.fasterxml.jackson.core&amp;lt;/groupId&amp;gt;
&amp;lt;artifactId&amp;gt;jackson-core&amp;lt;/artifactId&amp;gt;
&amp;lt;scope&amp;gt;compile&amp;lt;/scope&amp;gt;
&amp;lt;/dependency&amp;gt;

&amp;lt;dependency&amp;gt;
&amp;lt;groupId&amp;gt;org.apache.httpcomponents&amp;lt;/groupId&amp;gt;
&amp;lt;artifactId&amp;gt;httpclient&amp;lt;/artifactId&amp;gt;
&amp;lt;scope&amp;gt;compile&amp;lt;/scope&amp;gt;
&amp;lt;/dependency&amp;gt;

&amp;lt;dependency&amp;gt;
&amp;lt;groupId&amp;gt;com.microsoft.azure&amp;lt;/groupId&amp;gt;
&amp;lt;artifactId&amp;gt;azure-storage&amp;lt;/artifactId&amp;gt;
&amp;lt;scope&amp;gt;compile&amp;lt;/scope&amp;gt;
&amp;lt;/dependency&amp;gt;

&amp;lt;dependency&amp;gt;
&amp;lt;groupId&amp;gt;com.google.guava&amp;lt;/groupId&amp;gt;
&amp;lt;artifactId&amp;gt;guava&amp;lt;/artifactId&amp;gt;
&amp;lt;scope&amp;gt;compile&amp;lt;/scope&amp;gt;
&amp;lt;/dependency&amp;gt;
&lt;/PRE&gt;&lt;P&gt;My guess would be the azure-storage JAR is missing. &lt;/P&gt;&lt;P&gt;This becomes a slippery slope though, because then azure-storage might have transitive dependencies as well. &lt;/P&gt;</description>
      <pubDate>Wed, 25 May 2016 19:52:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-No-FilesSystem-for-scheme-wasb/m-p/158072#M29023</guid>
      <dc:creator>bbende</dc:creator>
      <dc:date>2016-05-25T19:52:46Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi No FilesSystem for scheme: wasb</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-No-FilesSystem-for-scheme-wasb/m-p/158073#M29024</link>
      <description>&lt;P&gt;Ran into this issue on a recent project.   The dependences have to be incorporated into the nar file - I've created a version incorporating the dependencies and submitted a pull request on the associated lira issue at &lt;A href="https://issues.apache.org/jira/browse/NIFI-1922" target="_blank"&gt;https://issues.apache.org/jira/browse/NIFI-1922&lt;/A&gt;.   Performed some basic testing on a mix of HDInsight clusters and it appears to work OK.   Note though - you will need to implement NIFI  on the cluster (due to the HDInsight/blob store security model) and will need to install Java 8.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2016 11:53:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-No-FilesSystem-for-scheme-wasb/m-p/158073#M29024</guid>
      <dc:creator>atilcock</dc:creator>
      <dc:date>2016-06-07T11:53:04Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi No FilesSystem for scheme: wasb</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-No-FilesSystem-for-scheme-wasb/m-p/158074#M29025</link>
      <description>&lt;P&gt;Hi Alex... do you have detailed instructions on how to Build and Implement Nifi on the cluster?&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jun 2016 01:11:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-No-FilesSystem-for-scheme-wasb/m-p/158074#M29025</guid>
      <dc:creator>brig_lamoreaux</dc:creator>
      <dc:date>2016-06-10T01:11:13Z</dc:date>
    </item>
  </channel>
</rss>

