Search code examples
hadoophivehdfshue

HUE Query editor giving error for "dfs command"


For the below query:

enter image description here

Error:

OK FAILED: ParseException line 1:0 cannot recognize input near 'dfs' '-' 'cp'

enter image description here

Can anyone please guide me??


Solution

  • Do not put your source and destination urls between single qoutation. Like below:

    dfs -cp path/to/your/source path/to/your/destination