ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vladimir Ozerov <voze...@gridgain.com>
Subject Re: Hadoop and hive not working after setting ignite igfs.
Date Thu, 31 Mar 2016 06:22:44 GMT
"v1" or "v2" doesn't stand for Hadoop 1.x and Hadoop 2.x. Instead, this is
about either old "FileSystem" API or new "AbstractFileSystem" API. In your
stack trace I see that you use "FileSystem", so you should try setting "v1".

Vladimir.

On Thu, Mar 31, 2016 at 8:44 AM, pawanpawar <pawaremail@gmail.com> wrote:

> Thanks for your reply, I am using Hadoop 2, so I used "v2". Is this for
> hadoop version?
>
> On Thu, Mar 31, 2016 at 11:11 AM, Vladimir Ozerov [via Apache Ignite
> Developers] <ml-node+s2346864n8179h66@n4.nabble.com> wrote:
>
> > Hi,
> >
> > Please double-check that you set correct class name in *core-site.xml*.
> It
> > seems to me that you should change "v2" to "v1":
> > org.apache.ignite.hadoop.fs.*v1*.IgniteHadoopFileSystem
> >
> > Vladimir.
> >
> > On Thu, Mar 31, 2016 at 1:22 AM, pawanpawar <[hidden email]
> > <http:///user/SendEmail.jtp?type=node&node=8179&i=0>> wrote:
> >
> > > Hi team I am getting error after configuring ignite with hadoop and
> > hive.
> > > when I try to run any hadoop cmd it show me this error.
> > >
> > > pawanpawar@cloud:~$ hadoop fs -ls -R /
> > > -ls: Fatal internal error
> > > java.lang.RuntimeException: java.lang.NoSuchMethodException:
> > > org.apache.ignite.hadoop.fs.v2.IgniteHadoopFileSystem.<init>()
> > >         at
> > >
> > >
> >
> org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUtils.java:131)
> >
> > >         at
> > > org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:2595)
> > >         at
> > org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:91)
> > >         at
> > > org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:2630)
> > >         at
> > org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:2612)
> > >         at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:370)
> > >         at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:169)
> > >         at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:354)
> > >         at org.apache.hadoop.fs.Path.getFileSystem(Path.java:296)
> > >         at
> > > org.apache.hadoop.fs.shell.PathData.expandAsGlob(PathData.java:325)
> > >         at
> > > org.apache.hadoop.fs.shell.Command.expandArgument(Command.java:224)
> > >         at
> > > org.apache.hadoop.fs.shell.Command.expandArguments(Command.java:207)
> > >         at
> > >
> org.apache.hadoop.fs.shell.Command.processRawArguments(Command.java:190)
> > >         at org.apache.hadoop.fs.shell.Command.run(Command.java:154)
> > >         at org.apache.hadoop.fs.FsShell.run(FsShell.java:287)
> > >         at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
> > >         at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:84)
> > >         at org.apache.hadoop.fs.FsShell.main(FsShell.java:340)
> > > Caused by: java.lang.NoSuchMethodException:
> > > org.apache.ignite.hadoop.fs.v2.IgniteHadoopFileSystem.<init>()
> > >         at java.lang.Class.getConstructor0(Class.java:3082)
> > >         at java.lang.Class.getDeclaredConstructor(Class.java:2178)
> > >         at
> > >
> > >
> >
> org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUtils.java:125)
> >
> > >         ... 17 more
> > >
> > >
> > > and when I try to start hiveserver2 it gives me same error.
> > >
> > > I have setup the HADOOP_CLASSPATH and other configuration as shown in
> > > tutorial https://apacheignite-fs.readme.io/v1.5.0
> > >
> > >
> > >
> > > --
> > > View this message in context:
> > >
> >
> http://apache-ignite-developers.2346864.n4.nabble.com/Hadoop-and-hive-not-working-after-setting-ignite-igfs-tp8178.html
> > > Sent from the Apache Ignite Developers mailing list archive at
> > Nabble.com.
> > >
> >
> >
> > ------------------------------
> > If you reply to this email, your message will be added to the discussion
> > below:
> >
> >
> http://apache-ignite-developers.2346864.n4.nabble.com/Hadoop-and-hive-not-working-after-setting-ignite-igfs-tp8178p8179.html
> > To unsubscribe from Hadoop and hive not working after setting ignite
> > igfs., click here
> > <
> http://apache-ignite-developers.2346864.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=8178&code=cGF3YXJlbWFpbEBnbWFpbC5jb218ODE3OHwtMjA4OTM3NjM0Ng==
> >
> > .
> > NAML
> > <
> http://apache-ignite-developers.2346864.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml
> >
> >
>
>
>
> --
> *Thanks & Regards*
> *Pawan Pawar*
> *Mobile: +91 9993585256*
> *Email: pawaremail@gmail.com <pawaremail@gmail.com>*
> *Skype: pawarskype*
>
>
>
>
> --
> View this message in context:
> http://apache-ignite-developers.2346864.n4.nabble.com/Hadoop-and-hive-not-working-after-setting-ignite-igfs-tp8178p8180.html
> Sent from the Apache Ignite Developers mailing list archive at Nabble.com.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message