[ 
https://issues.apache.org/jira/browse/TINKERPOP-1023?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15047696#comment-15047696
 ] 

ASF GitHub Bot commented on TINKERPOP-1023:
-------------------------------------------

Github user dkuppitz commented on the pull request:

    
https://github.com/apache/incubator-tinkerpop/pull/173#issuecomment-163058755
  
    * `mvn clean install`: worked
    * manual tests using the new `spark` object: failed
    
    ```
    daniel@cube 
/projects/apache/test/incubator-tinkerpop/gremlin-console/target/apache-gremlin-console-3.1.1-SNAPSHOT-standalone
 (TINKERPOP-1023) $ 
HADOOP_GREMLIN_LIBS=`pwd`/ext/hadoop-gremlin/lib:`pwd`/ext/spark-gremlin/lib 
bin/gremlin.sh
    
             \,,,/
             (o o)
    -----oOOo-(3)-oOOo-----
    plugin activated: tinkerpop.server
    plugin activated: tinkerpop.utilities
    WARN  org.apache.hadoop.util.NativeCodeLoader  - Unable to load 
native-hadoop library for your platform... using builtin-java classes where 
applicable
    INFO  org.apache.tinkerpop.gremlin.hadoop.structure.HadoopGraph  - 
HADOOP_GREMLIN_LIBS is set to: 
/projects/apache/test/incubator-tinkerpop/gremlin-console/target/apache-gremlin-console-3.1.1-SNAPSHOT-standalone/ext/hadoop-gremlin/lib:/projects/apache/test/incubator-tinkerpop/gremlin-console/target/apache-gremlin-console-3.1.1-SNAPSHOT-standalone/ext/spark-gremlin/lib
    plugin activated: tinkerpop.hadoop
    plugin activated: tinkerpop.spark
    plugin activated: tinkerpop.tinkergraph
    gremlin> spark
    No such property: spark for class: groovysh_evaluate
    Display stack trace? [yN] N
    gremlin> spark.create("local[4]")
    No such property: spark for class: groovysh_evaluate
    Display stack trace? [yN] N
    gremlin> 
    ```
    
    What am I missing here?


> Add a spark variable in SparkGremlinPlugin like we do hdfs for 
> HadoopGremlinPlugin
> ----------------------------------------------------------------------------------
>
>                 Key: TINKERPOP-1023
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-1023
>             Project: TinkerPop
>          Issue Type: Improvement
>          Components: hadoop
>    Affects Versions: 3.1.0-incubating
>            Reporter: Marko A. Rodriguez
>            Assignee: Marko A. Rodriguez
>             Fix For: 3.1.1-incubating
>
>
> It would be good if from the Gremlin Console we could do things like this:
> {code}
> gremlin> spark.getRDDs()
> gremlin> spark.removeRDD("graphRDD")
> gremlin> spark.getMaster()
> gremlin> spark.isPersisted()
> {code}
> With the ability to have persisted context's, its confusing as to what is 
> persisted and what is not. With a {{spark}} like we have with {{hdfs}} it 
> will make it more clear.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to