question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Questions about YROOT

See original GitHub issue

I think I miss some knowledge to configure environment variables in the following steps of “Convert the MNIST zip files into HDFS files.”

export YROOT=~/y
export LD_LIBRARY_PATH=${YROOT}/lib64:${PATH}

Specifically, how to generate ~/y/lib64 ? Any suggestions will be appreciated!

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
leewyangcommented, Feb 20, 2017

I do see a problem with your command line:

In our YARN instructions, we create a Python.zip file that contains the TensorFlow dependencies. We then ship this Python.zip file to the executors, because the Hadoop nodes will typically have a different version of Python or won’t have the TensorFlow dependencies pre-installed.

When we ship the Python.zip via --archives, we also provide a “directory name” to unzip into (on the executors). In our case, we use --archives hdfs:///user/${USER}/Python.zip#Python, which means “on the executors, unzip into a directory called ‘Python’”.

We then tell the Spark executors where to find this zipped version of Python via: export SPARK_YARN_USER_ENV="PYSPARK_PYTHON=Python/bin/python". Note that the Python prefix here should match the #Python suffix of the --archives above. So, it looks like you should change your SPARK_YARN_USER_ENV.

And finally, if that still doesn’t work, please capture the yarn logs via yarn logs -applicationId <your_application_id> > yarn.log.

0reactions
leewyangcommented, Feb 22, 2017

Good to see that it worked for you, and thanks for noting your software versions. It’ll help us identify which configurations have been tried/proven.

Read more comments on GitHub >

github_iconTop Results From Across the Web

5 Questions to Ask Your Endodontist About Root Canals
We've put together a helpful list of questions to ask your endodontist to ensure you get all the information you need. Question 1:...
Read more >
A Quiz On Plant Roots | Wisconsin Pollinators
A Quiz to Test Your Knowledge of Plant Roots. A just-for-fun sixteen question quiz that finds out just how much you know.
Read more >
Top 10 Root Canal Questions & Answers
1. How do you know if you need a root canal? · 2. What does a root canal procedure entail? · 3. Does...
Read more >
Top 5 Root Canal Questions & Answers | NSB Endo
Top 5 Root Canal Questions & Answers · Is a root canal painful? · What happens during a root canal? · How long...
Read more >
Frequently Asked Questions About Root Canal Treatments
Find the answers to the most common questions about root canals. Our team at myDental is here to answer your questions about treatments....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found