Skip to content
This repository has been archived by the owner on Nov 16, 2019. It is now read-only.

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

Open
emrosales opened this issue May 14, 2018 · 0 comments
Open

Comments

@emrosales
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant