You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@s2graph.apache.org by yeongmo jung <ye...@gmail.com> on 2019/07/21 14:31:22 UTC

I even can't start the S2Graph

Hi! I’m Jung 
And I send you this mail because I have a problem with getting start S2Graph

I started with this document’s getting started page,
https://steamshon.gitbooks.io/s2graph-book/content/getting_started.html <https://steamshon.gitbooks.io/s2graph-book/content/getting_started.html>
But I am not sure that I take the right steps

I downloaded source files at http://s2graph.incubator.apache.org/download.html <http://s2graph.incubator.apache.org/download.html>, 
And I build to binary files with ‘stb package’ which is in the document

After building, and I launched it with command 'sh bin/start-s2graph.sh’, but it failed..
Command(standard output) shows that
"
Starting hbase...
Service hbase might have failed to start; see /Users/yeongmo/Documents/Programming/timeline/apache-s2graph-0.2.0-incubating-src/logs/hbase.log
Starting s2rest_play...
Service s2rest_play might have failed to start; see /Users/yeongmo/Documents/Programming/timeline/apache-s2graph-0.2.0-incubating-src/logs/s2rest_play.log
“

And the log says that it could not find the class ‘org.apache.hadoop.hbase.master.HMaster’ 
“
/Library/Java/JavaVirtualMachines/jdk1.8.0_201.jdk/Contents/Home/bin/java -cp /Users/yeongmo/Documents/Programming/timeline/apache-s2graph-0.2.0-incubating-src/conf:/Users/yeongmo/Documents/Programming/timeline/apache-s2graph-0.2.0-incubating-src/lib/* -Ds2graph.home=/Users/yeongmo/Documents/Programming/timeline/apache-s2graph-0.2.0-incubating-src -Xms1g -Xmx1g -Dproc_master -Dhbase.log.dir=/Users/yeongmo/Documents/Programming/timeline/apache-s2graph-0.2.0-incubating-src/logs -Dhbase.log.file=hbase.logger.log -Dhbase.home.dir=/Users/yeongmo/Documents/Programming/timeline/apache-s2graph-0.2.0-incubating-src -Dhbase.id.str=s2graph -Dhbase.root.logger=INFO,RFA org.apache.hadoop.hbase.master.HMaster start
오류: 기본 클래스 org.apache.hadoop.hbase.master.HMaster을(를) 찾거나 로드할 수 없습니다.
“ (It means that error : couldn’t find or load the basic class org.apache.hadoop.hbase.master.HMaster)

I searched all the pages that I could, but I can not find any person who faced same error as mine

How should I do? I missed something? 
(I thought that I have to install hbase myself so I tried start s2graph with hbase running… but it still faild and I don’t think this is not the way)
I am very sorry about taking your time by this low quality and stupid question.. but this is the only way I can after frustrated few days.. 

Thank you for reading this mail and I hope you have a happy and nice day!


Regards,
Jung

Re: I even can't start the S2Graph

Posted by yeongmo jung <ye...@gmail.com>.
Thank you both of you very much!
I finally started S2Graph and success the tutorial

These are what I did
1. I noticed that my computer has an error that when I try to start, the directory and files which contains log files are created in other(unintended) place.
2. Thus, I rebooted my Mac
3. And, I did what you says.
 I commanded `sbt package` at base directory (this step spend less time than before)
4. I can see the target directory created, and `cd target/apache-s2graph-0.2.0-incubating-src` and `sh bin/start-s2graph.sh`
5. Success!

I think I already done it at that time, but probably I did not

Thank you very much to help me 
I will spend much lot of time and cry very many nights without your helps
You saved my summer!

I hope you always happy in your life

Best regards
Jung


> 2019. 7. 23. 오전 8:02, DO YUNG YOON <sh...@gmail.com> 작성:
> 
> Hi Jung. 
> 
> Thanks for trying out and welcome to S2Graph.
> 
> It looks like you are building it from mac with jdk 1.8.0_201, right? 
> I just downloaded the release and tried on my local environment(mac with jdk 1.8.0_111) as follow with success.
> 
> 1. download source release and cd to base dir.
> 2. run `sbt package`.
> 3. you can see `sbt package` command create `target/apache-s2graph-0.2.0-incubating-bin` which contains binaries.
> 4. `cd target/apache-s2graph-0.2.0-incubating-bin`.
> 5. `sh bin/start-s2graph.sh` 
> 
> The error message looks familiar and as far as I remember, it happened when I run startup script on base directory, not the binary directory.
> Could you please follow the above steps and let us know if it works?
> 
> 
> On Tue, Jul 23, 2019 at 1:03 AM Woonsan Ko <woonsan@apache.org <ma...@apache.org>> wrote:
> Hi Jung,
> 
> Welcome!
> The authentic, canonical documentation is located here:
> - https://s2graph.apache.org/docs/getting_started/index.html <https://s2graph.apache.org/docs/getting_started/index.html>
> 
> Could you try it again with the official online doc instead?
> 
> Regards,
> 
> Woonsan
> 
> On Sun, Jul 21, 2019 at 10:31 AM yeongmo jung <yeongmoj94@gmail.com <ma...@gmail.com>> wrote:
> >
> > Hi! I’m Jung
> > And I send you this mail because I have a problem with getting start S2Graph
> >
> > I started with this document’s getting started page,
> > https://steamshon.gitbooks.io/s2graph-book/content/getting_started.html <https://steamshon.gitbooks.io/s2graph-book/content/getting_started.html>
> > But I am not sure that I take the right steps
> >
> > I downloaded source files at http://s2graph.incubator.apache.org/download.html <http://s2graph.incubator.apache.org/download.html>,
> > And I build to binary files with ‘stb package’ which is in the document
> >
> > After building, and I launched it with command 'sh bin/start-s2graph.sh’, but it failed..
> > Command(standard output) shows that
> > "
> > Starting hbase...
> > Service hbase might have failed to start; see /Users/yeongmo/Documents/Programming/timeline/apache-s2graph-0.2.0-incubating-src/logs/hbase.log
> > Starting s2rest_play...
> > Service s2rest_play might have failed to start; see /Users/yeongmo/Documents/Programming/timeline/apache-s2graph-0.2.0-incubating-src/logs/s2rest_play.log
> > “
> >
> > And the log says that it could not find the class ‘org.apache.hadoop.hbase.master.HMaster’
> > “
> > /Library/Java/JavaVirtualMachines/jdk1.8.0_201.jdk/Contents/Home/bin/java -cp /Users/yeongmo/Documents/Programming/timeline/apache-s2graph-0.2.0-incubating-src/conf:/Users/yeongmo/Documents/Programming/timeline/apache-s2graph-0.2.0-incubating-src/lib/* -Ds2graph.home=/Users/yeongmo/Documents/Programming/timeline/apache-s2graph-0.2.0-incubating-src -Xms1g -Xmx1g -Dproc_master -Dhbase.log.dir=/Users/yeongmo/Documents/Programming/timeline/apache-s2graph-0.2.0-incubating-src/logs -Dhbase.log.file=hbase.logger.log -Dhbase.home.dir=/Users/yeongmo/Documents/Programming/timeline/apache-s2graph-0.2.0-incubating-src -Dhbase.id.str=s2graph -Dhbase.root.logger=INFO,RFA org.apache.hadoop.hbase.master.HMaster start
> > 오류: 기본 클래스 org.apache.hadoop.hbase.master.HMaster을(를) 찾거나 로드할 수 없습니다.
> > “ (It means that error : couldn’t find or load the basic class org.apache.hadoop.hbase.master.HMaster)
> >
> > I searched all the pages that I could, but I can not find any person who faced same error as mine
> >
> > How should I do? I missed something?
> > (I thought that I have to install hbase myself so I tried start s2graph with hbase running… but it still faild and I don’t think this is not the way)
> > I am very sorry about taking your time by this low quality and stupid question.. but this is the only way I can after frustrated few days..
> >
> > Thank you for reading this mail and I hope you have a happy and nice day!
> >
> >
> > Regards,
> > Jung


Re: I even can't start the S2Graph

Posted by DO YUNG YOON <sh...@gmail.com>.
Hi Jung.

Thanks for trying out and welcome to S2Graph.

It looks like you are building it from mac with jdk 1.8.0_201, right?
I just downloaded the release and tried on my local environment(mac with
jdk 1.8.0_111) as follow with success.

1. download source release and cd to base dir.
2. run `sbt package`.
3. you can see `sbt package` command create
`target/apache-s2graph-0.2.0-incubating-bin` which contains binaries.
4. `cd target/apache-s2graph-0.2.0-incubating-bin`.
5. `sh bin/start-s2graph.sh`

The error message looks familiar and as far as I remember, it happened when
I run startup script on base directory, not the binary directory.
Could you please follow the above steps and let us know if it works?


On Tue, Jul 23, 2019 at 1:03 AM Woonsan Ko <wo...@apache.org> wrote:

> Hi Jung,
>
> Welcome!
> The authentic, canonical documentation is located here:
> - https://s2graph.apache.org/docs/getting_started/index.html
>
> Could you try it again with the official online doc instead?
>
> Regards,
>
> Woonsan
>
> On Sun, Jul 21, 2019 at 10:31 AM yeongmo jung <ye...@gmail.com>
> wrote:
> >
> > Hi! I’m Jung
> > And I send you this mail because I have a problem with getting start
> S2Graph
> >
> > I started with this document’s getting started page,
> > https://steamshon.gitbooks.io/s2graph-book/content/getting_started.html
> > But I am not sure that I take the right steps
> >
> > I downloaded source files at
> http://s2graph.incubator.apache.org/download.html,
> > And I build to binary files with ‘stb package’ which is in the document
> >
> > After building, and I launched it with command 'sh
> bin/start-s2graph.sh’, but it failed..
> > Command(standard output) shows that
> > "
> > Starting hbase...
> > Service hbase might have failed to start; see
> /Users/yeongmo/Documents/Programming/timeline/apache-s2graph-0.2.0-incubating-src/logs/hbase.log
> > Starting s2rest_play...
> > Service s2rest_play might have failed to start; see
> /Users/yeongmo/Documents/Programming/timeline/apache-s2graph-0.2.0-incubating-src/logs/s2rest_play.log
> > “
> >
> > And the log says that it could not find the class
> ‘org.apache.hadoop.hbase.master.HMaster’
> > “
> >
> /Library/Java/JavaVirtualMachines/jdk1.8.0_201.jdk/Contents/Home/bin/java
> -cp
> /Users/yeongmo/Documents/Programming/timeline/apache-s2graph-0.2.0-incubating-src/conf:/Users/yeongmo/Documents/Programming/timeline/apache-s2graph-0.2.0-incubating-src/lib/*
> -Ds2graph.home=/Users/yeongmo/Documents/Programming/timeline/apache-s2graph-0.2.0-incubating-src
> -Xms1g -Xmx1g -Dproc_master
> -Dhbase.log.dir=/Users/yeongmo/Documents/Programming/timeline/apache-s2graph-0.2.0-incubating-src/logs
> -Dhbase.log.file=hbase.logger.log
> -Dhbase.home.dir=/Users/yeongmo/Documents/Programming/timeline/apache-s2graph-0.2.0-incubating-src
> -Dhbase.id.str=s2graph -Dhbase.root.logger=INFO,RFA
> org.apache.hadoop.hbase.master.HMaster start
> > 오류: 기본 클래스 org.apache.hadoop.hbase.master.HMaster을(를) 찾거나 로드할 수 없습니다.
> > “ (It means that error : couldn’t find or load the basic class
> org.apache.hadoop.hbase.master.HMaster)
> >
> > I searched all the pages that I could, but I can not find any person who
> faced same error as mine
> >
> > How should I do? I missed something?
> > (I thought that I have to install hbase myself so I tried start s2graph
> with hbase running… but it still faild and I don’t think this is not the
> way)
> > I am very sorry about taking your time by this low quality and stupid
> question.. but this is the only way I can after frustrated few days..
> >
> > Thank you for reading this mail and I hope you have a happy and nice day!
> >
> >
> > Regards,
> > Jung
>

Re: I even can't start the S2Graph

Posted by Woonsan Ko <wo...@apache.org>.
Hi Jung,

Welcome!
The authentic, canonical documentation is located here:
- https://s2graph.apache.org/docs/getting_started/index.html

Could you try it again with the official online doc instead?

Regards,

Woonsan

On Sun, Jul 21, 2019 at 10:31 AM yeongmo jung <ye...@gmail.com> wrote:
>
> Hi! I’m Jung
> And I send you this mail because I have a problem with getting start S2Graph
>
> I started with this document’s getting started page,
> https://steamshon.gitbooks.io/s2graph-book/content/getting_started.html
> But I am not sure that I take the right steps
>
> I downloaded source files at http://s2graph.incubator.apache.org/download.html,
> And I build to binary files with ‘stb package’ which is in the document
>
> After building, and I launched it with command 'sh bin/start-s2graph.sh’, but it failed..
> Command(standard output) shows that
> "
> Starting hbase...
> Service hbase might have failed to start; see /Users/yeongmo/Documents/Programming/timeline/apache-s2graph-0.2.0-incubating-src/logs/hbase.log
> Starting s2rest_play...
> Service s2rest_play might have failed to start; see /Users/yeongmo/Documents/Programming/timeline/apache-s2graph-0.2.0-incubating-src/logs/s2rest_play.log
> “
>
> And the log says that it could not find the class ‘org.apache.hadoop.hbase.master.HMaster’
> “
> /Library/Java/JavaVirtualMachines/jdk1.8.0_201.jdk/Contents/Home/bin/java -cp /Users/yeongmo/Documents/Programming/timeline/apache-s2graph-0.2.0-incubating-src/conf:/Users/yeongmo/Documents/Programming/timeline/apache-s2graph-0.2.0-incubating-src/lib/* -Ds2graph.home=/Users/yeongmo/Documents/Programming/timeline/apache-s2graph-0.2.0-incubating-src -Xms1g -Xmx1g -Dproc_master -Dhbase.log.dir=/Users/yeongmo/Documents/Programming/timeline/apache-s2graph-0.2.0-incubating-src/logs -Dhbase.log.file=hbase.logger.log -Dhbase.home.dir=/Users/yeongmo/Documents/Programming/timeline/apache-s2graph-0.2.0-incubating-src -Dhbase.id.str=s2graph -Dhbase.root.logger=INFO,RFA org.apache.hadoop.hbase.master.HMaster start
> 오류: 기본 클래스 org.apache.hadoop.hbase.master.HMaster을(를) 찾거나 로드할 수 없습니다.
> “ (It means that error : couldn’t find or load the basic class org.apache.hadoop.hbase.master.HMaster)
>
> I searched all the pages that I could, but I can not find any person who faced same error as mine
>
> How should I do? I missed something?
> (I thought that I have to install hbase myself so I tried start s2graph with hbase running… but it still faild and I don’t think this is not the way)
> I am very sorry about taking your time by this low quality and stupid question.. but this is the only way I can after frustrated few days..
>
> Thank you for reading this mail and I hope you have a happy and nice day!
>
>
> Regards,
> Jung