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

Bugs in launcher.py #574

Closed
wants to merge 1 commit into from
Closed

Bugs in launcher.py #574

wants to merge 1 commit into from

Conversation

wendycwong
Copy link

discovered by Michal M

discovered by Michal M
Copy link
Member

@szha szha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could you describe the bug or link to the bug report?

@@ -52,7 +52,7 @@ def main():
(classpath, _) = subprocess.Popen('%s/bin/hadoop classpath' % hadoop_home,
stdout=subprocess.PIPE, shell=True,
env=os.environ).communicate()
for f in classpath.split(':'):
for f in classpath.decode('utf-8').split(':'):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

assuming the change is for python2, could you verify it for python3 too?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nope, this is for python3. If the changes was not made, the wrong path will be included. I was trying to play with xgboost0.82 off hadoop/yarn. I was having a hard time getting it to run. Michal M discovered this bug and hence the proposed fix.

@hcho3
Copy link
Contributor

hcho3 commented Oct 24, 2019

@wendycwong Can you review #564? It addresses the same bug and supports both Python 2 and 3.

@hcho3
Copy link
Contributor

hcho3 commented Oct 24, 2019

Closing in favor of #564

@hcho3 hcho3 closed this Oct 24, 2019
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

Successfully merging this pull request may close these issues.

3 participants