-
Notifications
You must be signed in to change notification settings - Fork 56
Description
Hi Okram,
I have integrated faunus with hdfs and titan with hbase, But when we are trying to access data from titan into faunus it giving following error,
Titan Version:titan-0.4.4
Faunus Version: faunus-0.4.4
Here is my property file:
faunus.graph.input.format=com.thinkaurelius.faunus.formats.titan.hbase.TitanHBaseInputFormat
faunus.graph.input.titan.storage.backend=hbase
faunus.graph.input.titan.storage.hostname=xyz( I am specifying zookeeper hosts here)
faunus.graph.input.titan.storage.port=2181
faunus.graph.input.titan.storage.tablename=titan
faunus.graph.output.format=com.thinkaurelius.faunus.formats.titan.hbase.TitanHBaseOutputFormat
faunus.graph.output.titan.storage.backend=hbase
faunus.graph.output.titan.storage.hostname=xyz( I am specifying zookeeper hosts here)
faunus.graph.output.titan.storage.port=2181
faunus.graph.output.titan.storage.tablename=titan
faunus.graph.output.titan.storage.batch-loading=true
faunus.output.location=output1
zookeeper.znode.parent=/hbase-unsecure
titan.graph.output.ids.block-size=100000
faunus.graph.output.titan.infer-schema=true
Execution:
g = FaunusFactory.open('/opt/faunus/faunus-0.4.4/bin/titan-hbase-inputoutput.properties')
==>faunusgraph[titanhbaseinputformat->titanhbaseoutputformat]
gremlin> g.v(2640092)
13:24:20 WARN mapreduce.FaunusCompiler: Using the distribution Faunus job jar: ../lib/faunus-0.4.4-job.jar
13:24:21 INFO mapreduce.FaunusCompiler: Compiled to 3 MapReduce job(s)
13:24:21 INFO mapreduce.FaunusCompiler: Executing job 1 out of 3: MapSequence[com.thinkaurelius.faunus.mapreduce.transform.VertexMap.Map, com.thinkaurelius.faunus.formats.titan.SchemaInferencerMapReduce.Map, com.thinkaurelius.faunus.formats.titan.SchemaInferencerMapReduce.Reduce]
13:24:21 INFO mapreduce.FaunusCompiler: Job data location: output1/job-0
13:24:21 WARN mapred.JobClient: Use GenericOptionsParser for parsing the arguments. Applications should implement Tool for the same.
13:24:22 INFO diskstorage.Backend: Initiated backend operations thread pool of size 4
13:24:22 INFO zookeeper.ZooKeeper: Client environment:zookeeper.version=3.4.5-1392090, built on 09/30/2012 17:52 GMT
13:24:22 INFO zookeeper.ZooKeeper: Client environment:host.name=euca-192-168-216-107.eucalyptus.internal.devlab.dev
13:24:22 INFO zookeeper.ZooKeeper: Client environment:java.version=1.7.0_45
13:24:22 INFO zookeeper.ZooKeeper: Client environment:java.vendor=Oracle Corporation
13:24:22 INFO zookeeper.ZooKeeper: Client environment:java.home=/usr/java/jdk1.7.0_45/jre
13:24:24 INFO mapred.JobClient: Running job: job_201407181049_0009
13:24:25 INFO mapred.JobClient: map 0% reduce 0%
13:30:04 INFO mapred.JobClient: Task Id : attempt_201407181049_0009_m_000000_0, Status : FAILED
com.thinkaurelius.titan.core.TitanException: Exception in Titan
at com.thinkaurelius.titan.diskstorage.hbase.HBaseStoreManager.getAdminInterface(HBaseStoreManager.java:380)
at com.thinkaurelius.titan.diskstorage.hbase.HBaseStoreManager.ensureColumnFamilyExists(HBaseStoreManager.java:275)
at com.thinkaurelius.titan.diskstorage.hbase.HBaseStoreManager.openDatabase(HBaseStoreManager.java:228)
at com.thinkaurelius.titan.diskstorage.Backend.getStore(Backend.java:231)
at com.thinkaurelius.titan.diskstorage.Backend.initialize(Backend.java:243)
at com.thinkaurelius.titan.graphdb.configuration.GraphDatabaseConfiguration.getBackend(GraphDatabaseConfiguration.java:1174)
at com.thinkaurelius.titan.graphdb.database.StandardTitanGraph.(StandardTitanGraph.java:75)
at com.thinkaurelius.faunus.formats.titan.FaunusTitanGraph.(FaunusTitanGraph.java:30)
at com.thinkaurelius.faunus.formats.titan.FaunusTitanGraph.(FaunusTitanGraph.java:26)
at com.thinkaurelius.faunus.formats.titan.hbase.FaunusTitanHBaseGraph.(FaunusTitanHBaseGraph.java:29)
at com.thinkaurelius.faunus.formats.titan.hbase.TitanHBaseInputFormat.setConf(TitanHBaseInputFormat.java:53)
at org.apache.hadoop.util.ReflectionUtils.setConf(ReflectionUtils.java:62)
at org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUtils.java:117)
at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:721)
at org.apache.hadoop.mapred.MapTask.run(MapTask.java:363)
at org.apache.hadoop.mapred.Child$4.run(Child.java:255)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:415)
at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1232)
at org.apache.hadoop.mapred.Child.main(Child.java:249)
Caused by: org.apache.hadoop.hbase.MasterNotRunningException: Retried 14 times
at org.apache.hadoop.hbase.client.HBaseAdmin.(HBaseAdmin.java:139)
at com.thinkaurelius.titan.diskstorage.hbase.HBaseStoreManager.getAdminInterface(HBaseStoreManager.java:378)
... 19 more
13:46:45 INFO mapred.JobClient: Job complete: job_201407181049_0009
13:46:45 INFO mapred.JobClient: Counters: 8
13:46:45 INFO mapred.JobClient: Job Counters
13:46:45 INFO mapred.JobClient: SLOTS_MILLIS_MAPS=1334254
13:46:45 INFO mapred.JobClient: Total time spent by all reduces waiting after reserving slots (ms)=0
13:46:45 INFO mapred.JobClient: Total time spent by all maps waiting after reserving slots (ms)=0
13:46:45 INFO mapred.JobClient: Rack-local map tasks=3
13:46:45 INFO mapred.JobClient: Launched map tasks=4
13:46:45 INFO mapred.JobClient: Data-local map tasks=1
13:46:45 INFO mapred.JobClient: SLOTS_MILLIS_REDUCES=0
13:46:45 INFO mapred.JobClient: Failed map tasks=1
13:46:45 ERROR mapreduce.FaunusCompiler: Faunus job error -- remaining MapReduce jobs have been canceled
please let me know if I am missing any configutions(or) settings.
Thanks,
varun