Skip to content
This repository was archived by the owner on May 1, 2020. It is now read-only.
This repository was archived by the owner on May 1, 2020. It is now read-only.

Exception occurred when copy model file to HDFS #23

@xhappy

Description

@xhappy

Starting rotation fitting for split 1
Saving pickle to temp file...
Copying pickle file to hdfs...
hdfs:///user/algo/lopq/model/
Traceback (most recent call last):
File "train_model.py", line 426, in
save_hdfs_pickle(model, args.model_pkl)
File "train_model.py", line 245, in save_hdfs_pickle
copy_to_hdfs(f, pkl_path)
File "train_model.py", line 266, in copy_to_hdfs
subprocess.call(['hadoop', 'fs', '-put', f.name, hdfs_path])
File "/usr/lib64/python2.7/subprocess.py", line 524, in call
return Popen(*popenargs, **kwargs).wait()
File "/usr/lib64/python2.7/subprocess.py", line 711, in init
errread, errwrite)
File "/usr/lib64/python2.7/subprocess.py", line 1327, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
End of LogType:stdout

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions