[
https://issues.apache.org/jira/browse/TINKERPOP3-858?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14960838#comment-14960838
]
Jason Plurad commented on TINKERPOP3-858:
-----------------------------------------
I ended up testing this manually, using Titan as the example.
h4. Prep
{noformat}
rm ~/.groovy/grapeConfig.xml
rm -rf ~/.groovy/grapes/org.apache.giraph/
rm -rf ~/.m2/repository/org/apache/giraph/
{noformat}
h4. Gremlin Server
# {noformat}cd
gremlin-server/target/apache-gremlin-server-3.0.2-SNAPSHOT-standalone/{noformat}
# Attempt to install {{titan-all}} should fail
{noformat}
./bin/gremlin-server.sh -i com.thinkaurelius.titan titan-all 1.0.0
{noformat}
# Verify that plugin directory {{titan-all}} doesn't exist
{noformat}
ls ./ext/titan-all
{noformat}
# Attempt to install existing plugin {{tinkergraph-gremlin}} should fail
{noformat}
./bin/gremlin-server.sh -i org.apache.tinkerpop tinkergraph-gremlin
3.0.2-SNAPSHOT
{noformat}
# Verify that plugin directory should still exist
{noformat}
ls ./ext/tinkergraph-gremlin
{noformat}
h4. Gremlin Console
# {noformat}cd
gremlin-console/target/apache-gremlin-console-3.0.2-SNAPSHOT-standalone/{noformat}
# Attempt to install {{titan-all}} should fail
{noformat}
./bin/gremlin.sh
:install com.thinkaurelius.titan titan-all 1.0.0
:q
{noformat}
# Verify that plugin directory {{titan-all}} doesn't exist
{noformat}
ls ./ext/titan-all
{noformat}
# Attempt to install existing plugin {{tinkergraph-gremlin}} should fail
{noformat}
./bin/gremlin.sh
:install org.apache.tinkerpop tinkergraph-gremlin 3.0.2-SNAPSHOT
:q
{noformat}
# Verify that plugin directory should still exist
{noformat}
ls ./ext/tinkergraph-gremlin
{noformat}
> Cleanup after failed :install
> -----------------------------
>
> Key: TINKERPOP3-858
> URL: https://issues.apache.org/jira/browse/TINKERPOP3-858
> Project: TinkerPop 3
> Issue Type: Improvement
> Components: console, server
> Affects Versions: 3.0.1-incubating
> Reporter: stephen mallette
> Assignee: Jason Plurad
> Priority: Minor
> Fix For: 3.1.0-incubating, 3.0.2-incubating
>
>
> If {{:install}} tanks:
> {code}
> gremlin> :install org.apache.tinkerpop hadoop-gremlin 3.1.0-SNAPSHOT
> ==>Error grabbing Grapes -- [download failed:
> io.netty#netty;3.6.2.Final!netty.jar(bundle)]
> {code}
> try to clean up the directory that gets created or else future attempts do
> this:
> {code}
> gremlin> :install org.apache.tinkerpop hadoop-gremlin 3.1.0-SNAPSHOT
> ==>a module with the name hadoop-gremlin is already installed
> {code}
> This is also a problem for {{bin/gremlin-server.sh -i}}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)