You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@s2graph.apache.org by eureka386 <eu...@gmail.com> on 2016/07/11 00:28:31 UTC

s2graph virtual machine error (using vagrant)

Hi. 
I’m interested in the s2graph project.
I followed commands on the manual. but I met some error messages.
I have no idea what i have to do.
Can anyone some advise me?


git clone https://github.com/kakao/s2graph.git
cd s2graph
vagrant up
vagrant ssh

// in the virtual environment..
cd s2graph
activator 'project s2rest_play' run





===========================
$ vagrant ssh
Welcome to Ubuntu 14.04.3 LTS (GNU/Linux 3.13.0-65-generic x86_64)

 * Documentation:  https://help.ubuntu.com/

  System information as of Mon Jul 11 00:09:18 UTC 2016

  System load:  0.52              Processes:           84
  Usage of /:   9.9% of 39.34GB   Users logged in:     0
  Memory usage: 8%                IP address for eth0: 10.0.2.15
  Swap usage:   0%                IP address for eth1: 192.168.15.166

  Graph this data and manage this system at:
    https://landscape.canonical.com/

  Get cloud support with Ubuntu Advantage Cloud Guest:
    http://www.ubuntu.com/business/services/cloud


Last login: Sat Oct 10 11:01:55 2015 from 10.0.2.2
vagrant@vagrant-ubuntu-trusty-64:~$ ls
hadoop	hadoop-2.6.0  hadoop-2.6.0.tar.gz  hbase  hbase-1.1.0.1  hbase-1.1.0.1-bin.tar.gz  s2graph
vagrant@vagrant-ubuntu-trusty-64:~$ cd s2graph
vagrant@vagrant-ubuntu-trusty-64:~/s2graph$ activator 'project s2rest_play' run
[info] Loading project definition from /home/vagrant/s2graph/project
[info] Updating {file:/home/vagrant/s2graph/project/}s2graph-build...
[info] Resolving org.fusesource.jansi#jansi;1.4 ...
[info] Done updating.
[info] Compiling 1 Scala source to /home/vagrant/s2graph/project/target/scala-2.10/sbt-0.13/classes...
[info] Set current project to s2graph (in build file:/home/vagrant/s2graph/)
[error] Not a valid project ID: s2rest_play
[error] project s2rest_play
[error]                    ^
vagrant@vagrant-ubuntu-trusty-64:~/s2graph$ 

Re: s2graph virtual machine error (using vagrant)

Posted by Jong Wook Kim <jo...@nyu.edu>.
Hi, 

The Vagrant image is currently out of date, and will not work as instructed in README.md; sorry about the inconvenience.

The s2graph team is currently working on an official release which is going to be released in a couple of weeks, with which you will find it easier to test it out.

By the way, the kakao repo is deprecated and the apache repo, https://github.com/apache/incubator-s2graph <https://github.com/apache/incubator-s2graph> , is keeping the latest codebase.

Best,
Jong Wook

> On Jul 10, 2016, at 8:28 PM, eureka386 <eu...@gmail.com> wrote:
> 
> Hi. 
> I’m interested in the s2graph project.
> I followed commands on the manual. but I met some error messages.
> I have no idea what i have to do.
> Can anyone some advise me?
> 
> 
> git clone https://github.com/kakao/s2graph.git
> cd s2graph
> vagrant up
> vagrant ssh
> 
> // in the virtual environment..
> cd s2graph
> activator 'project s2rest_play' run
> 
> 
> 
> 
> 
> ===========================
> $ vagrant ssh
> Welcome to Ubuntu 14.04.3 LTS (GNU/Linux 3.13.0-65-generic x86_64)
> 
> * Documentation:  https://help.ubuntu.com/
> 
>  System information as of Mon Jul 11 00:09:18 UTC 2016
> 
>  System load:  0.52              Processes:           84
>  Usage of /:   9.9% of 39.34GB   Users logged in:     0
>  Memory usage: 8%                IP address for eth0: 10.0.2.15
>  Swap usage:   0%                IP address for eth1: 192.168.15.166
> 
>  Graph this data and manage this system at:
>    https://landscape.canonical.com/
> 
>  Get cloud support with Ubuntu Advantage Cloud Guest:
>    http://www.ubuntu.com/business/services/cloud
> 
> 
> Last login: Sat Oct 10 11:01:55 2015 from 10.0.2.2
> vagrant@vagrant-ubuntu-trusty-64:~$ ls
> hadoop	hadoop-2.6.0  hadoop-2.6.0.tar.gz  hbase  hbase-1.1.0.1  hbase-1.1.0.1-bin.tar.gz  s2graph
> vagrant@vagrant-ubuntu-trusty-64:~$ cd s2graph
> vagrant@vagrant-ubuntu-trusty-64:~/s2graph$ activator 'project s2rest_play' run
> [info] Loading project definition from /home/vagrant/s2graph/project
> [info] Updating {file:/home/vagrant/s2graph/project/}s2graph-build...
> [info] Resolving org.fusesource.jansi#jansi;1.4 ...
> [info] Done updating.
> [info] Compiling 1 Scala source to /home/vagrant/s2graph/project/target/scala-2.10/sbt-0.13/classes...
> [info] Set current project to s2graph (in build file:/home/vagrant/s2graph/)
> [error] Not a valid project ID: s2rest_play
> [error] project s2rest_play
> [error]                    ^
> vagrant@vagrant-ubuntu-trusty-64:~/s2graph$


Re: s2graph virtual machine error (using vagrant)

Posted by eureka386 <eu...@gmail.com>.
It works!. 
Thank you so much.

I’m hopeful for the future of this project.

Thank you again.




2016. 7. 12., 오전 7:05, Jong Wook Kim <jo...@nyu.edu> 작성:

> Hi,
> 
> the current instructions on README.md requires some revision, as the HDFS and HBase doesn’t get started automatically, in addition to having to install JRE 1.8 manually.
> 
> To manually start them, please run, in the vagrant vm's shell,
> 
> 	$ ~/hadoop/sbin/start-all.sh
> 
> and then,
> 
> 	$ ~/hbase/bin/start-hbase.sh
> 
> If prompted to type password, “vagrant” will work. After that, you’ll be able to run:
> 
> 	$ activator 'project s2rest_play’ run
> 
> Sorry again about the inconvenience, and please look forward to the upcoming release which will have simpler way to launch the whole thing.
> 
> Best,
> Jong Wook
> 
> 
>> On Jul 11, 2016, at 4:38 AM, eureka386 <eu...@gmail.com> wrote:
>> 
>> Thank you for replies.
>> I successfully started up s2rest_play project.
>> 
>> But, I met another problem on the vagranted vm ubuntu server(ver. 0.0.2).
>> Application returned error message after I typed first example commands.(createService kakao….)
>> 
>> I don’t have enough knowledge this domain, so I’m not sure what is the problems.
>> I hope my logs are helpful to you guys.
>> 
>> thank you.
>> 
>> 
>> 
>> 
>> 
>> <cli_command.txt>
>> 
>> 
>> 
>> 
>> 
>> 2016. 7. 11., 오후 12:25, Hyunsung Jo <hy...@gmail.com> 작성:
>> 
>>> Hi, eureka386,
>>> 
>>> Welcome to S2Graph!
>>> First of all, it seems like you're using the outdated repository.
>>> You can find the latest code in the Apache S2Graph Incubator repo (
>>> https://github.com/apache/incubator-s2graph).
>>> I've also updated the Vagrant image (0.0.2) so you should be able to try it
>>> out now:
>>> 
>>> 1) git clone https://github.com/apache/incubator-s2graph
>>> 2) cd incubator-s2graph
>>> *3) vagrant up
>>> 4) vagrant ssh
>>> 
>>> // in the virtual environment..
>>> *5) java -version (make sure you have "1.8.0_91"!!)
>>> 6) cd s2graph
>>> 7) activator 'project s2rest_play' run
>>> 
>>> 
>>> * In case you see the following message during step 3;
>>> 
>>> *==> default: A newer version of the box 's2graph/base-box' is available!
>>> You currently*
>>> 
>>> *==> default: have version '0.0.1'. The latest is version '0.0.2'. Run*
>>> 
>>> *==> default: `vagrant box update` to update.*
>>> or have Java 1.7.xx during step 5,
>>> It means that your vagrant box is not up to date.
>>> 1) remove your VM image
>>> 2) run 'vagrant box update' in the project root directory
>>> (incubator-s2graph)
>>> 3) then continue from 'vagrant up'
>>> 
>>> 
>>> 
>>> Other than Vagrant, the S2Graph docs (
>>> https://steamshon.gitbooks.io/s2graph-book/content/getting_started.html)
>>> have a couple of additional options to try S2Graph; using Docker or
>>> installing directly to your local machine.
>>> As Jong Wook mentioned, the official release will have a better quickstart
>>> experience.
>>> Be sure to check that out, as well.
>>> 
>>> Regards,
>>> Jo
>>> 
>>> On Mon, Jul 11, 2016 at 9:28 AM eureka386 <eu...@gmail.com> wrote:
>>> 
>>>> Hi.
>>>> I’m interested in the s2graph project.
>>>> I followed commands on the manual. but I met some error messages.
>>>> I have no idea what i have to do.
>>>> Can anyone some advise me?
>>>> 
>>>> 
>>>> git clone https://github.com/kakao/s2graph.git
>>>> cd s2graph
>>>> vagrant up
>>>> vagrant ssh
>>>> 
>>>> // in the virtual environment..
>>>> cd s2graph
>>>> activator 'project s2rest_play' run
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> ===========================
>>>> $ vagrant ssh
>>>> Welcome to Ubuntu 14.04.3 LTS (GNU/Linux 3.13.0-65-generic x86_64)
>>>> 
>>>> * Documentation:  https://help.ubuntu.com/
>>>> 
>>>> System information as of Mon Jul 11 00:09:18 UTC 2016
>>>> 
>>>> System load:  0.52              Processes:           84
>>>> Usage of /:   9.9% of 39.34GB   Users logged in:     0
>>>> Memory usage: 8%                IP address for eth0: 10.0.2.15
>>>> Swap usage:   0%                IP address for eth1: 192.168.15.166
>>>> 
>>>> Graph this data and manage this system at:
>>>>  https://landscape.canonical.com/
>>>> 
>>>> Get cloud support with Ubuntu Advantage Cloud Guest:
>>>>  http://www.ubuntu.com/business/services/cloud
>>>> 
>>>> 
>>>> Last login: Sat Oct 10 11:01:55 2015 from 10.0.2.2
>>>> vagrant@vagrant-ubuntu-trusty-64:~$ ls
>>>> hadoop  hadoop-2.6.0  hadoop-2.6.0.tar.gz  hbase  hbase-1.1.0.1
>>>> hbase-1.1.0.1-bin.tar.gz  s2graph
>>>> vagrant@vagrant-ubuntu-trusty-64:~$ cd s2graph
>>>> vagrant@vagrant-ubuntu-trusty-64:~/s2graph$ activator 'project
>>>> s2rest_play' run
>>>> [info] Loading project definition from /home/vagrant/s2graph/project
>>>> [info] Updating {file:/home/vagrant/s2graph/project/}s2graph-build...
>>>> [info] Resolving org.fusesource.jansi#jansi;1.4 ...
>>>> [info] Done updating.
>>>> [info] Compiling 1 Scala source to
>>>> /home/vagrant/s2graph/project/target/scala-2.10/sbt-0.13/classes...
>>>> [info] Set current project to s2graph (in build
>>>> file:/home/vagrant/s2graph/)
>>>> [error] Not a valid project ID: s2rest_play
>>>> [error] project s2rest_play
>>>> [error]                    ^
>>>> vagrant@vagrant-ubuntu-trusty-64:~/s2graph$
>> 
> 


Re: s2graph virtual machine error (using vagrant)

Posted by Jong Wook Kim <jo...@nyu.edu>.
Hi,

the current instructions on README.md requires some revision, as the HDFS and HBase doesn’t get started automatically, in addition to having to install JRE 1.8 manually.

To manually start them, please run, in the vagrant vm's shell,

	$ ~/hadoop/sbin/start-all.sh

and then,

	$ ~/hbase/bin/start-hbase.sh

If prompted to type password, “vagrant” will work. After that, you’ll be able to run:

	$ activator 'project s2rest_play’ run

Sorry again about the inconvenience, and please look forward to the upcoming release which will have simpler way to launch the whole thing.

Best,
Jong Wook


> On Jul 11, 2016, at 4:38 AM, eureka386 <eu...@gmail.com> wrote:
> 
> Thank you for replies.
> I successfully started up s2rest_play project.
> 
> But, I met another problem on the vagranted vm ubuntu server(ver. 0.0.2).
> Application returned error message after I typed first example commands.(createService kakao….)
> 
> I don’t have enough knowledge this domain, so I’m not sure what is the problems.
> I hope my logs are helpful to you guys.
> 
> thank you.
> 
> 
> 
> 
> 
> <cli_command.txt>
> 
> 
> 
> 
> 
> 2016. 7. 11., 오후 12:25, Hyunsung Jo <hy...@gmail.com> 작성:
> 
>> Hi, eureka386,
>> 
>> Welcome to S2Graph!
>> First of all, it seems like you're using the outdated repository.
>> You can find the latest code in the Apache S2Graph Incubator repo (
>> https://github.com/apache/incubator-s2graph).
>> I've also updated the Vagrant image (0.0.2) so you should be able to try it
>> out now:
>> 
>> 1) git clone https://github.com/apache/incubator-s2graph
>> 2) cd incubator-s2graph
>> *3) vagrant up
>> 4) vagrant ssh
>> 
>> // in the virtual environment..
>> *5) java -version (make sure you have "1.8.0_91"!!)
>> 6) cd s2graph
>> 7) activator 'project s2rest_play' run
>> 
>> 
>> * In case you see the following message during step 3;
>> 
>> *==> default: A newer version of the box 's2graph/base-box' is available!
>> You currently*
>> 
>> *==> default: have version '0.0.1'. The latest is version '0.0.2'. Run*
>> 
>> *==> default: `vagrant box update` to update.*
>> or have Java 1.7.xx during step 5,
>> It means that your vagrant box is not up to date.
>> 1) remove your VM image
>> 2) run 'vagrant box update' in the project root directory
>> (incubator-s2graph)
>> 3) then continue from 'vagrant up'
>> 
>> 
>> 
>> Other than Vagrant, the S2Graph docs (
>> https://steamshon.gitbooks.io/s2graph-book/content/getting_started.html)
>> have a couple of additional options to try S2Graph; using Docker or
>> installing directly to your local machine.
>> As Jong Wook mentioned, the official release will have a better quickstart
>> experience.
>> Be sure to check that out, as well.
>> 
>> Regards,
>> Jo
>> 
>> On Mon, Jul 11, 2016 at 9:28 AM eureka386 <eu...@gmail.com> wrote:
>> 
>>> Hi.
>>> I’m interested in the s2graph project.
>>> I followed commands on the manual. but I met some error messages.
>>> I have no idea what i have to do.
>>> Can anyone some advise me?
>>> 
>>> 
>>> git clone https://github.com/kakao/s2graph.git
>>> cd s2graph
>>> vagrant up
>>> vagrant ssh
>>> 
>>> // in the virtual environment..
>>> cd s2graph
>>> activator 'project s2rest_play' run
>>> 
>>> 
>>> 
>>> 
>>> 
>>> ===========================
>>> $ vagrant ssh
>>> Welcome to Ubuntu 14.04.3 LTS (GNU/Linux 3.13.0-65-generic x86_64)
>>> 
>>> * Documentation:  https://help.ubuntu.com/
>>> 
>>> System information as of Mon Jul 11 00:09:18 UTC 2016
>>> 
>>> System load:  0.52              Processes:           84
>>> Usage of /:   9.9% of 39.34GB   Users logged in:     0
>>> Memory usage: 8%                IP address for eth0: 10.0.2.15
>>> Swap usage:   0%                IP address for eth1: 192.168.15.166
>>> 
>>> Graph this data and manage this system at:
>>>   https://landscape.canonical.com/
>>> 
>>> Get cloud support with Ubuntu Advantage Cloud Guest:
>>>   http://www.ubuntu.com/business/services/cloud
>>> 
>>> 
>>> Last login: Sat Oct 10 11:01:55 2015 from 10.0.2.2
>>> vagrant@vagrant-ubuntu-trusty-64:~$ ls
>>> hadoop  hadoop-2.6.0  hadoop-2.6.0.tar.gz  hbase  hbase-1.1.0.1
>>> hbase-1.1.0.1-bin.tar.gz  s2graph
>>> vagrant@vagrant-ubuntu-trusty-64:~$ cd s2graph
>>> vagrant@vagrant-ubuntu-trusty-64:~/s2graph$ activator 'project
>>> s2rest_play' run
>>> [info] Loading project definition from /home/vagrant/s2graph/project
>>> [info] Updating {file:/home/vagrant/s2graph/project/}s2graph-build...
>>> [info] Resolving org.fusesource.jansi#jansi;1.4 ...
>>> [info] Done updating.
>>> [info] Compiling 1 Scala source to
>>> /home/vagrant/s2graph/project/target/scala-2.10/sbt-0.13/classes...
>>> [info] Set current project to s2graph (in build
>>> file:/home/vagrant/s2graph/)
>>> [error] Not a valid project ID: s2rest_play
>>> [error] project s2rest_play
>>> [error]                    ^
>>> vagrant@vagrant-ubuntu-trusty-64:~/s2graph$
> 


Re: s2graph virtual machine error (using vagrant)

Posted by eureka386 <eu...@gmail.com>.
Thank you for replies.
I successfully started up s2rest_play project.

But, I met another problem on the vagranted vm ubuntu server(ver. 0.0.2).
Application returned error message after I typed first example commands.(createService kakao��.)

I don��t have enough knowledge this domain, so I��m not sure what is the problems.
I hope my logs are helpful to you guys.

thank you.






Re: s2graph virtual machine error (using vagrant)

Posted by Hyunsung Jo <hy...@gmail.com>.
Hi, eureka386,

Welcome to S2Graph!
First of all, it seems like you're using the outdated repository.
You can find the latest code in the Apache S2Graph Incubator repo (
https://github.com/apache/incubator-s2graph).
I've also updated the Vagrant image (0.0.2) so you should be able to try it
out now:

1) git clone https://github.com/apache/incubator-s2graph
2) cd incubator-s2graph
*3) vagrant up
4) vagrant ssh

// in the virtual environment..
*5) java -version (make sure you have "1.8.0_91"!!)
6) cd s2graph
7) activator 'project s2rest_play' run


* In case you see the following message during step 3;

*==> default: A newer version of the box 's2graph/base-box' is available!
You currently*

*==> default: have version '0.0.1'. The latest is version '0.0.2'. Run*

*==> default: `vagrant box update` to update.*
or have Java 1.7.xx during step 5,
It means that your vagrant box is not up to date.
1) remove your VM image
2) run 'vagrant box update' in the project root directory
(incubator-s2graph)
3) then continue from 'vagrant up'



Other than Vagrant, the S2Graph docs (
https://steamshon.gitbooks.io/s2graph-book/content/getting_started.html)
have a couple of additional options to try S2Graph; using Docker or
installing directly to your local machine.
As Jong Wook mentioned, the official release will have a better quickstart
experience.
Be sure to check that out, as well.

Regards,
Jo

On Mon, Jul 11, 2016 at 9:28 AM eureka386 <eu...@gmail.com> wrote:

> Hi.
> I’m interested in the s2graph project.
> I followed commands on the manual. but I met some error messages.
> I have no idea what i have to do.
> Can anyone some advise me?
>
>
> git clone https://github.com/kakao/s2graph.git
> cd s2graph
> vagrant up
> vagrant ssh
>
> // in the virtual environment..
> cd s2graph
> activator 'project s2rest_play' run
>
>
>
>
>
> ===========================
> $ vagrant ssh
> Welcome to Ubuntu 14.04.3 LTS (GNU/Linux 3.13.0-65-generic x86_64)
>
>  * Documentation:  https://help.ubuntu.com/
>
>   System information as of Mon Jul 11 00:09:18 UTC 2016
>
>   System load:  0.52              Processes:           84
>   Usage of /:   9.9% of 39.34GB   Users logged in:     0
>   Memory usage: 8%                IP address for eth0: 10.0.2.15
>   Swap usage:   0%                IP address for eth1: 192.168.15.166
>
>   Graph this data and manage this system at:
>     https://landscape.canonical.com/
>
>   Get cloud support with Ubuntu Advantage Cloud Guest:
>     http://www.ubuntu.com/business/services/cloud
>
>
> Last login: Sat Oct 10 11:01:55 2015 from 10.0.2.2
> vagrant@vagrant-ubuntu-trusty-64:~$ ls
> hadoop  hadoop-2.6.0  hadoop-2.6.0.tar.gz  hbase  hbase-1.1.0.1
> hbase-1.1.0.1-bin.tar.gz  s2graph
> vagrant@vagrant-ubuntu-trusty-64:~$ cd s2graph
> vagrant@vagrant-ubuntu-trusty-64:~/s2graph$ activator 'project
> s2rest_play' run
> [info] Loading project definition from /home/vagrant/s2graph/project
> [info] Updating {file:/home/vagrant/s2graph/project/}s2graph-build...
> [info] Resolving org.fusesource.jansi#jansi;1.4 ...
> [info] Done updating.
> [info] Compiling 1 Scala source to
> /home/vagrant/s2graph/project/target/scala-2.10/sbt-0.13/classes...
> [info] Set current project to s2graph (in build
> file:/home/vagrant/s2graph/)
> [error] Not a valid project ID: s2rest_play
> [error] project s2rest_play
> [error]                    ^
> vagrant@vagrant-ubuntu-trusty-64:~/s2graph$