Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when passing multiple --cache args #12

Open
coderholic opened this issue Jul 16, 2014 · 0 comments
Open

Error when passing multiple --cache args #12

coderholic opened this issue Jul 16, 2014 · 0 comments

Comments

@coderholic
Copy link

I get an error when passing in multiple --cache arguments:

$ ./elastic-mapreduce 
  --create
  --cache <file1>
  --cache <file2>
  ...

Error: Repeating --cache CACHE_FILE is not allowed, previous value was "<file1>"

EMR definitely supports multiple cache files though, and line 781 of commands.rb seems to support it too:

      stream_options = []
      for ca in get_field(:cache, []) do
        stream_options << "-cacheFile" << ca
      end

Is this a bug, or is there another way in which I should pass in multiple cache files? (I already tried a single --cache <file1>,<file2>,<file3> but my job eventually failed saying that it didn't have a valid cache URL)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant