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

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

@emrosales

Description

@emrosales

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions