Closed simleo closed 6 years ago
from pydoop.hdfs.core import init hdfs = init() fs = hdfs.CoreHdfsFs("default", 0) f = fs.open_file("/tmp/foo", "w")
Leads to org.apache.hadoop.ipc.RemoteExceptions like:
org.apache.hadoop.ipc.RemoteException
Requested replication factor of -2365 is less than the required minimum of 1
or:
Specified block size is less than configured minimum value (dfs.namenode.fs-limits.min-block-size): 32723 < 1048576
For some reason, Python 2 seems to be unaffected by this.
Leads to
org.apache.hadoop.ipc.RemoteException
s like:or:
For some reason, Python 2 seems to be unaffected by this.