Uploaded image for project: 'Pig'
  1. Pig
  2. PIG-3165

sh command cannot run mongo client

    Details

    • Type: Bug
    • Status: Open
    • Priority: Critical
    • Resolution: Unresolved
    • Affects Version/s: 0.11
    • Fix Version/s: 0.18.0
    • Component/s: grunt, tools
    • Labels:
      None

      Description

      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!

        Attachments

          Activity

            People

            • Assignee:
              russell.jurney Russell Jurney
              Reporter:
              russell.jurney Russell Jurney
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: