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.
Eurekas-Macbook-Pro-3:incubator-s2graph eureka$ 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 07:46:18 UTC 2016 System load: 0.98 Processes: 91 Usage of /: 11.6% of 39.34GB Users logged in: 1 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: Mon Jul 11 07:46:17 2016 from 10.0.2.2 vagrant@vagrant-ubuntu-trusty-64:~$ curl -XPOST localhost:9000/graphs/createService -H 'Content-Type: Application/json' -d ' > {"serviceName": "KakaoFavorites", "compressionAlgorithm" : "gz"} > ' {"message":"Failed after attempts=35, exceptions:\nMon Jul 11 07:48:59 UTC 2016, RpcRetryingCaller{globalStartTime=1468223321729, pause=100, retries=35}, org.apache.hadoop.hbase.MasterNotRunningException: org.apache.hadoop.hbase.MasterNotRunningException: Can't get connection to ZooKeeper: KeeperErrorCode = ConnectionLoss for /hbase\nMon Jul 11 07:49:16 UTC 2016, RpcRetryingCaller{globalStartTime=1468223321729, pause=100, retries=35}, org.apache.hadoop.hbase.MasterNotRunningException: org.apache.hadoop.hbase.MasterNotRunningException: Can't get connection to ZooKeeper: KeeperErrorCode = ConnectionLoss for /hbase\nMon Jul 11 07:49:34 UTC 2016, RpcRetryingCaller{globalStartTime=1468223321729, pause=100, retries=35}, org.apache.hadoop.hbase.MasterNotRunningException: org.apache.hadoop.hbase.MasterNotRunningException: Can't get connection to ZooKeeper: KeeperErrorCode = ConnectionLoss for /hbase\nMon Jul 11 07:49:52 UTC 2016, RpcRetryingCaller{globalStartTime=1468223321729, pause=100, retries=35}, org.apache.hadoop.hbase.MasterNotRunningException: org.apache.hadoop.hbase.MasterNotRunningException: Can't get connection to ZooKeeper: KeeperErrorCode = ConnectionLoss for /hbase\nMon Jul 11 07:50:09 UTC 2016, RpcRetryingCaller{globalStartTime=1468223321729, pause=100, retries=35}, org.apache.hadoop.hbase.MasterNotRunningException: org.apache.hadoop.hbase.MasterNotRunningException: Can't get connection to ZooKeeper: KeeperErrorCode = ConnectionLoss for /hbase\nMon Jul 11 07:50:28 UTC 2016, RpcRetryingCaller{globalStartTime=1468223321729, pause=100, retries=35}, org.apache.hadoop.hbase.MasterNotRunningException: org.apache.hadoop.hbase.MasterNotRunningException: Can't get connection to ZooKeeper: KeeperErrorCode = ConnectionLoss for /hbase\nMon Jul 11 07:50:49 UTC 2016, RpcRetryingCaller{globalStartTime=1468223321729, pause=100, retries=35}, org.apache.hadoop.hbase.MasterNotRunningException: org.apache.hadoop.hbase.MasterNotRunningException: Can't get connection to ZooKeeper: KeeperErrorCode = ConnectionLoss for /hbase\nMon Jul 11 07:51:17 UTC 2016, RpcRetryingCaller{globalStartTime=1468223321729, pause=100, retries=35}, org.apache.hadoop.hbase.MasterNotRunningException: org.apache.hadoop.hbase.MasterNotRunningException: Can't get connection to ZooKeeper: KeeperErrorCode = ConnectionLoss for /hbase\nMon Jul 11 07:51:44 UTC 2016, RpcRetryingCaller{globalStartTime=1468223321729, pause=100, retries=35}, org.apache.hadoop.hbase.MasterNotRunningException: org.apache.hadoop.hbase.MasterNotRunningException: Can't get connection to ZooKeeper: KeeperErrorCode = ConnectionLoss for /hbase\nMon Jul 11 07:52:12 UTC 2016, RpcRetryingCaller{globalStartTime=1468223321729, pause=100, retries=35}, org.apache.hadoop.hbase.MasterNotRunningException: org.apache.hadoop.hbase.MasterNotRunningException: Can't get connection to ZooKeeper: KeeperErrorCode = ConnectionLoss for /hbase\nMon Jul 11 07:52:39 UTC 2016, RpcRetryingCaller{globalStartTime=1468223321729, pause=100, retries=35}, org.apache.hadoop.hbase.MasterNotRunningException: org.apache.hadoop.hbase.MasterNotRunningException: Can't get connection to ZooKeeper: KeeperErrorCode = ConnectionLoss for /hbase\nMon Jul 11 07:53:17 UTC 2016, RpcRetryingCaller{globalStartTime=1468223321729, pause=100, retries=35}, org.apache.hadoop.hbase.MasterNotRunningException: org.apache.hadoop.hbase.MasterNotRunningException: Can't get connection to ZooKeeper: KeeperErrorCode = ConnectionLoss for /hbase\nMon Jul 11 07:53:54 UTC 2016, RpcRetryingCaller{globalStartTime=1468223321729, pause=100, retries=35}, org.apache.hadoop.hbase.MasterNotRunningException: org.apache.hadoop.hbase.MasterNotRunningException: Can't get connection to ZooKeeper: KeeperErrorCode = ConnectionLoss for /hbase\nMon Jul 11 07:54:32 UTC 2016, RpcRetryingCaller{globalStartTime=1468223321729, pause=100, retries=35}, org.apache.hadoop.hbase.MasterNotRunningException: org.apache.hadoop.hbase.MasterNotRunningException: Can't get connection to ZooKeeper: KeeperErrorCode = ConnectionLoss for /hbase\nMon Jul 11 07:55:09 UTC 2016, RpcRetryingCaller{globalStartTime=1468223321729, pause=100, retries=35}, org.apache.hadoop.hbase.MasterNotRunningException: org.apache.hadoop.hbase.MasterNotRunningException: Can't get connection to ZooKeeper: KeeperErrorCode = ConnectionLoss for /hbase\nMon Jul 11 07:55:46 UTC 2016, RpcRetryingCaller{globalStartTime=1468223321729, pause=100, retries=35}, org.apache.hadoop.hbase.MasterNotRunningException: org.apache.hadoop.hbase.MasterNotRunningException: Can't get connection to ZooKeeper: KeeperErrorCode = ConnectionLoss for /hbase\nMon Jul 11 07:56:24 UTC 2016, RpcRetryingCaller{globalStartTime=1468223321729, pause=100, retries=35}, org.apache.hadoop.hbase.MasterNotRunningException: org.apache.hadoop.hbase.MasterNotRunningException: Can't get connection to ZooKeeper: KeeperErrorCode = ConnectionLoss for /hbase\nMon Jul 11 07:57:01 UTC 2016, RpcRetryingCaller{globalStartTime=1468223321729, pause=100, retries=35}, org.apache.hadoop.hbase.MasterNotRunningException: org.apache.hadoop.hbase.MasterNotRunningException: Can't get connection to ZooKeeper: KeeperErrorCode = ConnectionLoss for /hbase\nMon Jul 11 07:57:39 UTC 2016, RpcRetryingCaller{globalStartTime=1468223321729, pause=100, retries=35}, org.apache.hadoop.hbase.MasterNotRunningException: org.apache.hadoop.hbase.MasterNotRunningException: Can't get connection to ZooKeeper: KeeperErrorCode = ConnectionLoss for /hbase\nMon Jul 11 07:58:16 UTC 2016, RpcRetryingCaller{globalStartTime=1468223321729, pause=100, retries=35}, org.apache.hadoop.hbase.MasterNotRunningException: org.apache.hadoop.hbase.MasterNotRunningException: Can't get connection to ZooKeeper: KeeperErrorCode = ConnectionLoss for /hbase\nMon Jul 11 07:58:54 UTC 2016, RpcRetryingCaller{globalStartTime=1468223321729, pause=100, retries=35}, org.apache.hadoop.hbase.MasterNotRunningException: org.apache.hadoop.hbase.MasterNotRunningException: Can't get connection to ZooKeeper: KeeperErrorCode = ConnectionLoss for /hbase\nMon Jul 11 07:59:31 UTC 2016, RpcRetryingCaller{globalStartTime=1468223321729, pause=100, retries=35}, org.apache.hadoop.hbase.MasterNotRunningException: org.apache.hadoop.hbase.MasterNotRunningException: Can't get connection to ZooKeeper: KeeperErrorCode = ConnectionLoss for /hbase\nMon Jul 11 08:00:09 UTC 2016, RpcRetryingCaller{globalStartTime=1468223321729, pause=100, retries=35}, org.apache.hadoop.hbase.MasterNotRunningException: org.apache.hadoop.hbase.MasterNotRunningException: Can't get connection to ZooKeeper: KeeperErrorCode = ConnectionLoss for /hbase\nMon Jul 11 08:00:46 UTC 2016, RpcRetryingCaller{globalStartTime=1468223321729, pause=100, retries=35}, org.apache.hadoop.hbase.MasterNotRunningException: org.apache.hadoop.hbase.MasterNotRunningException: Can't get connection to ZooKeeper: KeeperErrorCode = ConnectionLoss for /hbase\nMon Jul 11 08:01:24 UTC 2016, RpcRetryingCaller{globalStartTime=1468223321729, pause=100, retries=35}, org.apache.hadoop.hbase.MasterNotRunningException: org.apache.hadoop.hbase.MasterNotRunningException: Can't get connection to ZooKeeper: KeeperErrorCode = ConnectionLoss for /hbase\nMon Jul 11 08:02:01 UTC 2016, RpcRetryingCaller{globalStartTime=1468223321729, pause=100, retries=35}, org.apache.hadoop.hbase.MasterNotRunningException: org.apache.hadoop.hbase.MasterNotRunningException: Can't get connection to ZooKeeper: KeeperErrorCode = ConnectionLoss for /hbase\nMon Jul 11 08:02:38 UTC 2016, RpcRetryingCaller{globalStartTime=1468223321729, pause=100, retries=35}, org.apache.hadoop.hbase.MasterNotRunningException: org.apache.hadoop.hbase.MasterNotRunningException: Can't get connection to ZooKeeper: KeeperErrorCode = ConnectionLoss for /hbase\nMon Jul 11 08:03:16 UTC 2016, RpcRetryingCaller{globalStartTime=1468223321729, pause=100, retries=35}, org.apache.hadoop.hbase.MasterNotRunningException: org.apache.hadoop.hbase.MasterNotRunningException: Can't get connection to ZooKeeper: KeeperErrorCode = ConnectionLoss for /hbase\nMon Jul 11 08:03:53 UTC 2016, RpcRetryingCaller{globalStartTime=1468223321729, pause=100, retries=35}, org.apache.hadoop.hbase.MasterNotRunningException: org.apache.hadoop.hbase.MasterNotRunningException: Can't get connection to ZooKeeper: KeeperErrorCode = ConnectionLoss for /hbase\nMon Jul 11 08:04:31 UTC 2016, RpcRetryingCaller{globalStartTime=1468223321729, pause=100, retries=35}, org.apache.hadoop.hbase.MasterNotRunningException: org.apache.hadoop.hbase.MasterNotRunningException: Can't get connection to ZooKeeper: KeeperErrorCode = ConnectionLoss for /hbase\nMon Jul 11 08:05:08 UTC 2016, RpcRetryingCaller{globalStartTime=1468223321729, pause=100, retries=35}, org.apache.hadoop.hbase.MasterNotRunningException: org.apache.hadoop.hbase.MasterNotRunningException: Can't get connection to ZooKeeper: KeeperErrorCode = ConnectionLoss for /hbase\nMon Jul 11 08:05:46 UTC 2016, RpcRetryingCaller{globalStartTime=1468223321729, pause=100, retries=35}, org.apache.hadoop.hbase.MasterNotRunningException: org.apache.hadoop.hbase.MasterNotRunningException: Can't get connection to ZooKeeper: KeeperErrorCode = ConnectionLoss for /hbase\nMon Jul 11 08:06:23 UTC 2016, RpcRetryingCaller{globalStartTime=1468223321729, pause=100, retries=35}, org.apache.hadoop.hbase.MasterNotRunningException: org.apache.hadoop.hbase.MasterNotRunningException: Can't get connection to ZooKeeper: KeeperErrorCode = ConnectionLoss for /hbase\nMon Jul 11 08:07:01 UTC 2016, RpcRetryingCaller{globalStartTime=1468223321729, pause=100, retries=35}, org.apache.hadoop.hbase.MasterNotRunningException: org.apache.hadoop.hbase.MasterNotRunningException: Can't get connection to ZooKeeper: KeeperErrorCode = ConnectionLoss for /hbase\nMon Jul 11 08:07:38 UTC 2016, RpcRetryingCaller{globalStartTime=1468223321729, pause=100, retries=35}, org.apache.hadoop.hbase.MasterNotRunningException: org.apache.hadoop.hbase.MasterNotRunningException: Can't get connection to ZooKeeper: KeeperErrorCode = ConnectionLoss for /hbase\n"}vagrant@vagrant-ubuntu-trusty-64:~$
2016. 7. 11., 오후 12:25, Hyunsung Jo <[email protected]> 작성: > 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 <[email protected]> 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$
