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

IOError : writetb :Hadoop process returned[255] #95

Open
nettyxiong opened this issue Jan 11, 2017 · 0 comments
Open

IOError : writetb :Hadoop process returned[255] #95

nettyxiong opened this issue Jan 11, 2017 · 0 comments

Comments

@nettyxiong
Copy link

nettyxiong commented Jan 11, 2017

when I try to write data to hdfs using "hadoopy.writetb",I got error below:

[sxiong@localhost codes]$ ls
sift.py  test2.py  test.py  uploadFilesAsSequence.py
[sxiong@localhost codes]$ python uploadFilesAsSequence.py 
Traceback (most recent call last):
  File "uploadFilesAsSequence.py", line 65, in <module>
    _write2(img_folder,sequenceHdfsPath)
  File "uploadFilesAsSequence.py", line 30, in _write2
    hadoopy.writetb(hdfs_uri,_read_local_dir(local_path))
  File "/home/sxiong/src/hadoopy/hadoopy/_hdfs.py", line 251, in writetb
    raise IOError('writetb: Hadoop process returned [%d]. Hadoop output below...\nstderr\n%s' % (p.returncode, p.stderr.read()))
IOError: writetb: Hadoop process returned [255]. Hadoop output below...
stderr
Not a valid JAR: /home/sxiong/dockerfiles/spark/codes/loadtb
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