yahoo / CaffeOnSpark

Distributed deep learning on Hadoop and Spark clusters.
Apache License 2.0
1.27k stars 358 forks source link

hive java.io.filenotfoundexception system cannot find specified path #299

Open emrosales opened 6 years ago

emrosales commented 6 years ago

I'm installing hive on windows, following tutorial from http://sandeeppatil101.blogspot.mx/2017/05/step-1-download-hive-2.html...when I reached the póint to run "schematool -initSchema -dbType mysql" I've got the following error:

2018-05-14 10:18:22,583 main WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream 2018-05-14 10:18:22,585 main WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream org.apache.hadoop.hive.metastore.HiveMetaException: File /usr/hive\scripts\metastore\upgrade\mysql\upgrade.order.mysqlnot found Underlying cause: java.io.FileNotFoundException : \usr\hive\scripts\metastore\upgrade\mysql\upgrade.order.mysql (El sistema no puede encontrar la ruta especificada) Use --verbose for detailed stacktrace. schemaTool failed

The first couple lines showed a warning message...I'm more intrigued by the last two lines....where the not found & The sytem cannot find the specified path...

I assume this has to be with the path where upgrade.order.mysql is...I checked the file does exist and the path is correct, but for an unknown reason the path inside cygwin is not correct...where I can see that configuration path? How I fix this error?

Any suggestions will be helpful. Thanks