i've seen many posts on the internet about this aspect , but i still don't
know how to do .

I've run the thrift server on hadoop namenode , and then run the python
thrift client.

i',m trying the create a file in the hdfs , and my pathname.pathname is
'hdfs://namenode:9000/user/hadoop/test'

But the server thrift throws the exception:

java.lang.IllegalArgumentException: Wrong FS:
hdfs://namenode:9000/user/hadoop/test, expected: file:///

And change this pathname to 'file:///user/hadoop/test'' also didn't work.

Is there any examples of pathname and thrift client implementation?



-- 
Best regards,

Ivy Tang

Reply via email to