I’m trying to write a standalone java file to connect to hadoop db with HiveJDBC in a windows machine and load data for table from a local csv file.
I’m getting on error "Error in semantic analysis: Line 1:23 Invalid path 'd:/Sample2.txt': only "file" or "hdfs" file systems accepted".
What i’m trying is right or wrong? Can we load data from client windows machine for hadoop db.
I think you need to use something like: