Code Monkey home page Code Monkey logo

Comments (4)

tomwhite avatar tomwhite commented on September 25, 2024

I think this is happening because AWS_ACCESS_KEY_ID is not set when using a non-interactive login shell (ssh localhost 'echo $AWS_ACCESS_KEY_ID' doesn't print a value).

One option would be to use the hadoop command for all S3 operations, since the S3 credentials are set in /root/ephemeral-hdfs/conf/core-site.xml. The problem would then reduce to #34. The other nice thing about getting this to work is that we are not tied to S3, which may be useful - e.g. using eggo to populate files in HDFS.

from eggo.

jfeala avatar jfeala commented on September 25, 2024

You may be able to get around this by appending the env vars to /etc/environment instead of ~/.bash_profile. This worked for me when SunGridEngine nodes were running in non-interactive mode

from eggo.

tomwhite avatar tomwhite commented on September 25, 2024

Thanks for the suggestion @jfeala. I was able to fix this in the end by specifying -cmdenv via the streaming_args parameter in Luigi. I committed this to unblock eggo and get master working again.

from eggo.

laserson avatar laserson commented on September 25, 2024

Awesome! For the record, I think the luigi S3 client either does or can
wrap the hadoop CLI.
On Apr 21, 2015 21:23, "Tom White" [email protected] wrote:

Thanks for the suggestion @jfeala https://github.com/jfeala. I was able
to fix this in the end by specifying -cmdenv via the streaming_args
parameter in Luigi. I committed this to unblock eggo and get master working
again.


Reply to this email directly or view it on GitHub
#35 (comment).

from eggo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.