04-03-2019 03:23 AM - last edited on 04-04-2019 06:16 AM by cjervis
Hi All, I am getting this error while creating the table from the file. Anyone knows what is the reason. Rename failed: /user/demo/movies.csv -> /user/demo/.scratchdir
04-23-2019 01:44 PM
Hi @gunjan ,
Could you please share the versions of Hue you are using? Are you using upstream version or the vesion comes with CDH?
04-30-2019 09:41 AM
Hi @gunjan ,
There is a new feature added in Hue latest version which it moves the source file to create table to a .scratchdir to handle moving file easily. However, if the create table fails, then there are files in .scratchdir left behind and future create tables fails. We have opened an internal jira to handle this in a better way.
Could you please remove the .scratchdir and try again as a workaround?
07-09-2019 12:41 AM
Is there a resolution to this?
I'm having the same issue with CDH 6.2 when trying to create an index from file in Hue.
I've placed a .csv file on my user area - going through the wizard, on the Hue 'Importer' I hit submit - it actually successfully creates the table but I get the 'Rename failed: .... .scratchdir' error, and the page doesn't progress.
I have tried deleting the .scratchdir and, separately, giving fully open permissions to the .scratchdir, I'm not having success with either.