|
@@ -39,25 +39,11 @@ int fuseConnectInit(const char *nnUri, int port);
|
|
* Get a libhdfs connection.
|
|
* Get a libhdfs connection.
|
|
*
|
|
*
|
|
* If there is an existing connection, it will be reused. If not, a new one
|
|
* If there is an existing connection, it will be reused. If not, a new one
|
|
- * will be created.
|
|
|
|
|
|
+ * will be created. The username will be determined from the FUSE thread
|
|
|
|
+ * context.
|
|
*
|
|
*
|
|
* You must call hdfsConnRelease on the connection you get back!
|
|
* You must call hdfsConnRelease on the connection you get back!
|
|
*
|
|
*
|
|
- * @param usrname The username to use
|
|
|
|
- * @param ctx The FUSE context to use (contains UID, PID of requestor)
|
|
|
|
- * @param conn (out param) The HDFS connection
|
|
|
|
- *
|
|
|
|
- * @return 0 on success; error code otherwise
|
|
|
|
- */
|
|
|
|
-int fuseConnect(const char *usrname, struct fuse_context *ctx,
|
|
|
|
- struct hdfsConn **out);
|
|
|
|
-
|
|
|
|
-/**
|
|
|
|
- * Get a libhdfs connection.
|
|
|
|
- *
|
|
|
|
- * The same as fuseConnect, except the username will be determined from the FUSE
|
|
|
|
- * thread context.
|
|
|
|
- *
|
|
|
|
* @param conn (out param) The HDFS connection
|
|
* @param conn (out param) The HDFS connection
|
|
*
|
|
*
|
|
* @return 0 on success; error code otherwise
|
|
* @return 0 on success; error code otherwise
|