Curl -1 -L “http://host:port/webhdfs/v1/foo/bar?

Posted by: Pdfprep Category: Apache Hadoop Developer Tags: , ,

What does the following WebHDFS command do?

Curl -1 -L “http://host:port/webhdfs/v1/foo/bar?op=OPEN”
A . Make a directory /foo/bar
B . Read a file /foo/bar
C . List a directory /foo
D . Delete a directory /foo/bar

Answer: B

Leave a Reply

Your email address will not be published.