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

Library crashing when using it in a HDFS environment #369

Open
diegomaca opened this issue Sep 21, 2022 · 0 comments
Open

Library crashing when using it in a HDFS environment #369

diegomaca opened this issue Sep 21, 2022 · 0 comments

Comments

@diegomaca
Copy link

In the model training step, specifically when we are standing in the "fit" step, we use the command and it crashes the kernel.

train and test are txt files readed from hdfs.

train = train.decode()
test = test.decode()
ffm_model = xl.create_ffm()
ffm_model.setTrain(train)
ffm_model.fit(param,str)

where str is the hdfs path to our production folder.

I am sorry if the issue is badly explained and/or contextualized , is the first time I report something as an issue to the library's owner.

What have we tried?
import subprocess
cat = subprocess.Popen(["hadoop", "fs", "-cat", str], stdout=subprocess.PIPE)
ffm_model.fit(param,cat)

The file specified in str, already exists but is empty.

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