hama-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Suraj Menon <surajsme...@apache.org>
Subject Re: package resolution error
Date Sun, 06 Jan 2013 19:14:25 GMT
I think I found the problem now; would be removed soon. Just refer to the
hama-graph-0.6.0.jar if you are creating your new application outside
hama-code base.
If you are contributing to Hama and implementing a new graph algorithm, as
of now, you can develop it as a part of example*s* package.
Please refer to the classes in non-test source directory.

Thanks,
Suraj

On Mon, Dec 24, 2012 at 11:56 PM, Sandy Ding <sandy.dingxin@gmail.com>wrote:

> Thanks for your reply.
> It seems that Ctrl+click will jump to the
> graph/src/test/java/org/apache/hama/graph/example/PageRank.java. That's the
> problem.
> Do I have to put my new application code under this directory to make it be
> able to referred by the Graph project?
>
>
>
>
>
> 2012/12/25 Suraj Menon <surajsmenon@apache.org>
>
> > Hi, I am not aware of this package. I would check the project
> configuration
> > and check referenced libraries and referenced projects for the hama
> project
> > you have open. Where does it take you or which jar file does it refer
> when
> > you do a Ctrl+click on the *example.PageRank ?
> >
> > -Suraj
> >
> > On Mon, Dec 24, 2012 at 9:08 PM, Sandy Ding <sandy.dingxin@gmail.com>
> > wrote:
> >
> > > Anyone help?
> > >
> > >
> > > 2012/12/24 Sandy Ding <sandy.dingxin@gmail.com>
> > >
> > > > Hi,
> > > >
> > > > In the graph project (eg, GraphJobRunner), the PageRank class can be
> > > > recognized (by Eclipse) as org.apache.hama.examples.PageRank
> > > > or
> > > > org.apache.hama.graph.example.PageRank (what is this? the
> > > > org.apache.graph.example package is never declared...).
> > > >
> > > > And the previous one will cause compile error - the package
> > > > org.apache.hama.examples does not exist!
> > > >
> > > > Now I have ported a new ALS application to hama, but I can not refer
> to
> > > it
> > > > in GraphJobRunner. The compiler keeps complain that the package and
> the
> > > > class does not exist. Anyone can tell me what's wrong?
> > > >
> > > > Best,
> > > > Sandy
> > > >
> > > >
> > >
> >
>

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