pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rohini Palaniswamy (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (PIG-3165) sh command cannot run mongo client
Date Mon, 25 Apr 2016 23:38:14 GMT

     [ https://issues.apache.org/jira/browse/PIG-3165?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Rohini Palaniswamy updated PIG-3165:
------------------------------------
    Fix Version/s:     (was: 0.16.0)
                   0.17.0

> sh command cannot run mongo client
> ----------------------------------
>
>                 Key: PIG-3165
>                 URL: https://issues.apache.org/jira/browse/PIG-3165
>             Project: Pig
>          Issue Type: Bug
>          Components: grunt, tools
>    Affects Versions: 0.11
>            Reporter: Russell Jurney
>            Assignee: Russell Jurney
>            Priority: Critical
>             Fix For: 0.17.0
>
>
> One often needs to drop an old MongoDB store when replacing it. Ex:
> store answer into 'mongodb://localhost/agile_data.hourly_from_reply_probs' using MongoStorage();
> Before doing that you would likely want to run a mongo command from bash from grunt,
to drop it:
> sh mongo --eval 'db.hourly_from_reply_probs.drop();'
> However, in this case grunt acts as though the command never returns. Crap!



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

Mime
View raw message