Comments (8)
Hi, could you please make sure python3 is the default Python?
from xgboost.
Hi, I've tried to alias python=python3 and ensured that pythonExec is "python3" in "RabitTracker.java" but the exception still happened. I wonder does the code exec python in sudo mode?
BTW I think python refers to python3 might be a little confusing. Shouldn't we replace "python" with "python3" in our .pom files and pythonExec default value?
from xgboost.
@CrazyBinXXX, Can you hack startTrackerProcess to print the cmd in RabitTracker.java, and then run it in another terminal to see if it can work as expected?
private boolean startTrackerProcess() {
try {
String cmd = getRabitTrackerCommand();
trackerProcess.set(Runtime.getRuntime().exec(cmd));
loadEnvs(trackerProcess.get().getInputStream());
return true;
} catch (IOException ioe) {
ioe.printStackTrace();
return false;
}
}
from xgboost.
Actually I've hacked it.
!!!!!!!!!!!!!!!!!BIN LOG!!!!!!!!!!!!!!!!!
python3 /var/folders/ql/ld6nvq6d02z974sl6y8p2t7m0000gn/T/tracker1198335420923130425.py --log-level=DEBUG --num-workers=2
Process info: java.lang.UNIXProcess@2b62dddf
Process info: true
Process info: java.lang.UNIXProcess$ProcessPipeInputStream@6ecf25e
null
It seems to execute something in a temporary folder. I tried to execute it in another terminal and it gives me "can't open file '/var/folders/ql/ld6nvq6d02z974sl6y8p2t7m0000gn/T/tracker1198335420923130425.py': [Errno 2] No such file or directory"
from xgboost.
Try python3 xgboost4j/src/main/resources/tracker.py --log-level=DEBUG --num-workers=2
from xgboost.
BTW, the recent PR #10112 will revise the whole Rabit part, where there will be no tracker.py anymore.
from xgboost.
I finally solved it by a weird way --- running "cat /etc/hosts"
from xgboost.
That's interesting.
from xgboost.
Related Issues (20)
- CV estimator.
- xgboost4j matrix memory leak HOT 15
- Training on GPU is not successful using XGBClassifier when training data is too large HOT 6
- [jvm-packages] Allow control over path of extracted library HOT 2
- Is there any way to load Dmatrix faster? HOT 10
- Hang inside NCCL. HOT 1
- Flaky column split tests.
- Missing surefire report of xgboost4j-spark HOT 1
- Segfaults in rabit tests HOT 11
- Hist training with checkpointing is non-deterministic based on subsample HOT 1
- XGBoost GPU Classification works / Regression does not HOT 1
- [R] Docs for function arguments format second paragraph as code block HOT 2
- XGBoost performance improvement using ARM SVE instrinsics
- [CI] Conda env for building with federated learning support.
- C-API : How to run classification HOT 2
- 2.1.0 Release Roadmap
- Failed to set feature types in R xgboost HOT 1
- Question: Import xgboost as new port in vcpkg repo, build failed for arm64_osx, arm64_uwp, arm64_windows... HOT 4
- Use CMAKE_MSVC_RUNTIME_LIBRARY to consistently handle linking mode for MSVC runtime
- Binary classification: target is probability instead of label?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xgboost.