[ 
https://issues.apache.org/jira/browse/AMBARI-20188?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Yesha Vora updated AMBARI-20188:
--------------------------------
    Description: 
Save To HDFS option does not work if full hdfs url is provided. 

Steps to reproduce:
* Run a query
* Click on Save To HDFS
* Enter "hdfs://mycluster/tmp/yyy.csv" in path

Since full url is not supported, the pop up box should have a note stating 
that. 
It should also print an example. 
Otherwise it will not be clear to user on how to enter the hdfs path.

  was:
Save To HDFS option should work if full hdfs url is provided. 

Steps to reproduce:
* Run a query
* Click on Save To HDFS
* Enter "hdfs://mycluster/tmp/yyy.csv" in path

This is a valid path. HDFS Put works with "hdfs://mycluster/tmp/yyy.csv" as 
destination. 
{code}
[root@xxx ~]# hdfs dfs -put  /tmp/all_nodes hdfs://mycluster/tmp/
[root@xxx ~]# hdfs dfs -ls /tmp
Found 4 items
-rw-r--r--   3 cstm-hdfs hdfs         67 2017-02-24 20:15 /tmp/all_nodes
-rw-r--r--   3 admin     hdfs       1324 2017-02-24 20:03 
/tmp/yeshabugs.csv{code}

However it does not work from Hive View. It does not throw any error either.


> HiveView 2.0: Add a note on Save To HDFS popup box that full hdfs url is not 
> supported
> --------------------------------------------------------------------------------------
>
>                 Key: AMBARI-20188
>                 URL: https://issues.apache.org/jira/browse/AMBARI-20188
>             Project: Ambari
>          Issue Type: Improvement
>          Components: ambari-views
>    Affects Versions: 2.5.0
>            Reporter: Yesha Vora
>
> Save To HDFS option does not work if full hdfs url is provided. 
> Steps to reproduce:
> * Run a query
> * Click on Save To HDFS
> * Enter "hdfs://mycluster/tmp/yyy.csv" in path
> Since full url is not supported, the pop up box should have a note stating 
> that. 
> It should also print an example. 
> Otherwise it will not be clear to user on how to enter the hdfs path.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to