mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
ZEPPELIN-198 Removed extra copy of configuration table and fixed formatting issues for hdfs.md
This commit is contained in:
parent
5938b0e1e0
commit
9f665146b1
1 changed files with 3 additions and 29 deletions
|
|
@ -36,8 +36,9 @@ group: manual
|
|||
|
||||
<br/>
|
||||
This interpreter connects to HDFS using the HTTP WebHDFS interface.
|
||||
It supports the basic shell file commands applied to HDFS, it currently only supports browsing
|
||||
* You can use <i>ls [PATH]</i> and <i>ls -l [PATH]</i> to list a directory. If the path is missing, then the current directory is listed. <i>ls </i> supports a <i>-h</h> flag for human readable file sizes.
|
||||
It supports the basic shell file commands applied to HDFS, it currently only supports browsing.
|
||||
|
||||
* You can use <i>ls [PATH]</i> and <i>ls -l [PATH]</i> to list a directory. If the path is missing, then the current directory is listed. <i>ls </i> supports a <i>-h</i> flag for human readable file sizes.
|
||||
* You can use <i>cd [PATH]</i> to change your current directory by giving a relative or an absolute path.
|
||||
* You can invoke <i>pwd</i> to see your current directory.
|
||||
|
||||
|
|
@ -48,33 +49,6 @@ It supports the basic shell file commands applied to HDFS, it currently only sup
|
|||
In a notebook, to enable the **HDFS** interpreter, click the **Gear** icon and select **HDFS**.
|
||||
|
||||
|
||||
### Configuration
|
||||
You can modify the configuration of HDFS from the `Interpreter` section. The HDFS interpreter express the following properties:
|
||||
|
||||
<table class="table-configuration">
|
||||
<tr>
|
||||
<th>Property Name</th>
|
||||
<th>Description</th>
|
||||
<th>Default Value</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>hdfs.url</td>
|
||||
<td>The URL for WebHDFS</td>
|
||||
<td>http://localhost:50070/webhdfs/v1/</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>hdfs.user</td>
|
||||
<td>The WebHDFS user</td>
|
||||
<td>hdfs</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>hdfs.maxlength</td>
|
||||
<td>Maximum number of lines of results fetched</td>
|
||||
<td>1000</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
#### WebHDFS REST API
|
||||
You can confirm that you're able to access the WebHDFS API by running a curl command against the WebHDFS end point provided to the interpreter.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue