How the Bigdata BW Plugin 1.0 gets the connection to the HDFS without password

How the Bigdata BW Plugin 1.0 gets the connection to the HDFS without password

book

Article ID: KB0082904

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks Plug-in for Big Data 1.0.0

Description

The Bigdata BW Plugin 1.0 uses a RESTful API to get a connection to HDFS through the user and the server URL provided for the connection resource. Since a HTTP REST API supports the complete FileSystem/FileContext interface for HDFS, the plugin program uses the Jersey client (com.sun.jersey.api.client.*) to prepare the RESTful API service request to HDFS server with operation GETHOMEDIRECTORY which will return the current user's home directory in this filesystem.

The HTTP GET request initialized by the Plugin is defined as follows.

http://HDFS_ServerURL/webhdfs/v1/?op=GETHOMEDIRECTORY&user.name=<the user_name provided>

The connection status can be checked through a command like the following,

curl -i "http://<HOST>:<PORT>/webhdfs/v1/?op=GETHOMEDIRECTORY&user.name=<the user_name provided>"

Issue/Introduction

How the Bigdata BW Plugin 1.0 gets a connection to the HDFS without a password.

Environment

All supported platforms

Additional Information

Bigdata Plugin connection, HDFS connection. Bigdata BW Plugin 1.0