You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by Ognen Duzlevski <og...@gmail.com> on 2015/02/27 16:14:58 UTC
Running examples
Hello all,
Sorry if this is not the right place to ask this question - I am new to
ignite.
I downloaded the latest version of apache-ignite and am trying to run the
scala examples in the examples/ subdir.
However, I am not sure what needs to be done for them to be run. I created
an sbt project, included the dependencies on the correct libraries like
ignite-core, ignite-scalar, ignite-examples, however this line keeps
failing from an example such as the Pi calculation:
import org.apache.ignite.scalar.scalar
If I look at the scala docs there is no scalar.scalar.
Are the examples simply too stale?
Thanks!
Re: Running examples
Posted by Dmitriy Setrakyan <ds...@apache.org>.
There is also a link to the community forum on the Apache Ignite website:
http://apacheignite.readme.io/v1.0/discuss
D.
On Fri, Feb 27, 2015 at 2:25 PM, Konstantin Boudnik <co...@apache.org> wrote:
> I believe apache mailing lists sdo not pass attachments. If you want to
> contribute the sbt build - open a JIRA ticket and attach it there.
>
> Thanks,
> Cos
>
> On Fri, Feb 27, 2015 at 01:01PM, Ognen Duzlevski wrote:
> > Alexey, thanks - I figured it out. Attached is a minimal build.sbt
> that
> > can be used to run an example like the Pi calculation (provided
> > src/main/scala/org/so-on-and-so-on contains the code for an example).
> > The calculation does run, all I need to do is figure out how to get
> rid of
> > the following:
> > [info] Running
> > org.apache.ignite.scalar.examples.ScalarPiCalculationExample
> > Can't load log handler
> > "org.apache.ignite.logger.java.JavaLoggerFileHandler"
> > java.lang.ClassNotFoundException:
> > org.apache.ignite.logger.java.JavaLoggerFileHandler
> > java.lang.ClassNotFoundException:
> > org.apache.ignite.logger.java.JavaLoggerFileHandler
> > Thanks,
> > Ognen
> > On Fri, Feb 27, 2015 at 9:50 AM, Alexey Kuznetsov
> > <ak...@gridgain.com> wrote:
> >
> > Hello Ognen!
> >
> > Thanks for interesting to Ignite.
> >
> > Actually we do not work with sbt we work from Intelli JIDEA.
> >
> > Could you try following: Download Community version of Intelli
> JIDEA (it
> > is
> > free).
> > Install scala plugin to it.
> > Create new project by importing pom.xml
> > Enable scala profile.
> >
> > Run scala examples.
> >
> > I created issue https://issues.apache.org/jira/browse/IGNITE-376
> you can
> > track it.
> > We will investigate.
> > On Fri, Feb 27, 2015 at 10:14 PM, Ognen Duzlevski
> > <ognen.duzlevski@gmail.com
> > > wrote:
> >
> > > Hello all,
> > >
> > > Sorry if this is not the right place to ask this question - I am
> new
> > to
> > > ignite.
> > >
> > > I downloaded the latest version of apache-ignite and am trying to
> run
> > the
> > > scala examples in the examples/ subdir.
> > >
> > > However, I am not sure what needs to be done for them to be run. I
> > created
> > > an sbt project, included the dependencies on the correct libraries
> > like
> > > ignite-core, ignite-scalar, ignite-examples, however this line
> keeps
> > > failing from an example such as the Pi calculation:
> > >
> > > import org.apache.ignite.scalar.scalar
> > >
> > > If I look at the scala docs there is no scalar.scalar.
> > >
> > > Are the examples simply too stale?
> > >
> > > Thanks!
> > >
> >
> > --
> > Alexey Kuznetsov
> > GridGain Systems
> > www.gridgain.com
>
>
Re: Running examples
Posted by Konstantin Boudnik <co...@apache.org>.
I believe apache mailing lists sdo not pass attachments. If you want to
contribute the sbt build - open a JIRA ticket and attach it there.
Thanks,
Cos
On Fri, Feb 27, 2015 at 01:01PM, Ognen Duzlevski wrote:
> Alexey, thanks - I figured it out. Attached is a minimal build.sbt that
> can be used to run an example like the Pi calculation (provided
> src/main/scala/org/so-on-and-so-on contains the code for an example).
> The calculation does run, all I need to do is figure out how to get rid of
> the following:
> [info] Running
> org.apache.ignite.scalar.examples.ScalarPiCalculationExample
> Can't load log handler
> "org.apache.ignite.logger.java.JavaLoggerFileHandler"
> java.lang.ClassNotFoundException:
> org.apache.ignite.logger.java.JavaLoggerFileHandler
> java.lang.ClassNotFoundException:
> org.apache.ignite.logger.java.JavaLoggerFileHandler
> Thanks,
> Ognen
> On Fri, Feb 27, 2015 at 9:50 AM, Alexey Kuznetsov
> <ak...@gridgain.com> wrote:
>
> Hello Ognen!
>
> Thanks for interesting to Ignite.
>
> Actually we do not work with sbt we work from Intelli JIDEA.
>
> Could you try following: Download Community version of Intelli JIDEA (it
> is
> free).
> Install scala plugin to it.
> Create new project by importing pom.xml
> Enable scala profile.
>
> Run scala examples.
>
> I created issue https://issues.apache.org/jira/browse/IGNITE-376 you can
> track it.
> We will investigate.
> On Fri, Feb 27, 2015 at 10:14 PM, Ognen Duzlevski
> <ognen.duzlevski@gmail.com
> > wrote:
>
> > Hello all,
> >
> > Sorry if this is not the right place to ask this question - I am new
> to
> > ignite.
> >
> > I downloaded the latest version of apache-ignite and am trying to run
> the
> > scala examples in the examples/ subdir.
> >
> > However, I am not sure what needs to be done for them to be run. I
> created
> > an sbt project, included the dependencies on the correct libraries
> like
> > ignite-core, ignite-scalar, ignite-examples, however this line keeps
> > failing from an example such as the Pi calculation:
> >
> > import org.apache.ignite.scalar.scalar
> >
> > If I look at the scala docs there is no scalar.scalar.
> >
> > Are the examples simply too stale?
> >
> > Thanks!
> >
>
> --
> Alexey Kuznetsov
> GridGain Systems
> www.gridgain.com
Re: Running examples
Posted by Ognen Duzlevski <og...@gmail.com>.
Alexey, thanks - I figured it out. Attached is a minimal build.sbt that can
be used to run an example like the Pi calculation (provided
src/main/scala/org/so-on-and-so-on contains the code for an example).
The calculation does run, all I need to do is figure out how to get rid of
the following:
[info] Running org.apache.ignite.scalar.examples.ScalarPiCalculationExample
Can't load log handler "org.apache.ignite.logger.java.JavaLoggerFileHandler"
java.lang.ClassNotFoundException:
org.apache.ignite.logger.java.JavaLoggerFileHandler
java.lang.ClassNotFoundException:
org.apache.ignite.logger.java.JavaLoggerFileHandler
Thanks,
Ognen
On Fri, Feb 27, 2015 at 9:50 AM, Alexey Kuznetsov <ak...@gridgain.com>
wrote:
> Hello Ognen!
>
> Thanks for interesting to Ignite.
>
> Actually we do not work with sbt we work from Intelli JIDEA.
>
> Could you try following: Download Community version of Intelli JIDEA (it is
> free).
> Install scala plugin to it.
> Create new project by importing pom.xml
> Enable scala profile.
>
> Run scala examples.
>
> I created issue https://issues.apache.org/jira/browse/IGNITE-376 you can
> track it.
> We will investigate.
>
> On Fri, Feb 27, 2015 at 10:14 PM, Ognen Duzlevski <
> ognen.duzlevski@gmail.com
> > wrote:
>
> > Hello all,
> >
> > Sorry if this is not the right place to ask this question - I am new to
> > ignite.
> >
> > I downloaded the latest version of apache-ignite and am trying to run the
> > scala examples in the examples/ subdir.
> >
> > However, I am not sure what needs to be done for them to be run. I
> created
> > an sbt project, included the dependencies on the correct libraries like
> > ignite-core, ignite-scalar, ignite-examples, however this line keeps
> > failing from an example such as the Pi calculation:
> >
> > import org.apache.ignite.scalar.scalar
> >
> > If I look at the scala docs there is no scalar.scalar.
> >
> > Are the examples simply too stale?
> >
> > Thanks!
> >
>
>
>
> --
> Alexey Kuznetsov
> GridGain Systems
> www.gridgain.com
>
Re: Running examples
Posted by Alexey Kuznetsov <ak...@gridgain.com>.
Hello Ognen!
Thanks for interesting to Ignite.
Actually we do not work with sbt we work from Intelli JIDEA.
Could you try following: Download Community version of Intelli JIDEA (it is
free).
Install scala plugin to it.
Create new project by importing pom.xml
Enable scala profile.
Run scala examples.
I created issue https://issues.apache.org/jira/browse/IGNITE-376 you can
track it.
We will investigate.
On Fri, Feb 27, 2015 at 10:14 PM, Ognen Duzlevski <ognen.duzlevski@gmail.com
> wrote:
> Hello all,
>
> Sorry if this is not the right place to ask this question - I am new to
> ignite.
>
> I downloaded the latest version of apache-ignite and am trying to run the
> scala examples in the examples/ subdir.
>
> However, I am not sure what needs to be done for them to be run. I created
> an sbt project, included the dependencies on the correct libraries like
> ignite-core, ignite-scalar, ignite-examples, however this line keeps
> failing from an example such as the Pi calculation:
>
> import org.apache.ignite.scalar.scalar
>
> If I look at the scala docs there is no scalar.scalar.
>
> Are the examples simply too stale?
>
> Thanks!
>
--
Alexey Kuznetsov
GridGain Systems
www.gridgain.com