hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thejas M Nair (JIRA)" <>
Subject [jira] [Created] (HIVE-17897) "repl load" in bootstrap phase fails when partitions have whitespace
Date Wed, 25 Oct 2017 00:23:00 GMT
Thejas M Nair created HIVE-17897:

             Summary: "repl load" in bootstrap phase fails when partitions have whitespace
                 Key: HIVE-17897
             Project: Hive
          Issue Type: Sub-task
          Components: repl
            Reporter: Thejas M Nair
            Assignee: Thejas M Nair
            Priority: Critical
             Fix For: 3.0.0

The issue is that Path.toURI().toString() is being used to serialize the location, while new
Path(String) is used to deserialize it. URI escapes chars such as space, so the deserialized
location doesn't point to the correct file location.

Following exception is seen - 
2017-10-24T11:58:34,451 ERROR [d5606640-8174-4584-8b54-936b0f5628fa main] exec.Task: Failed
with exception null
        at org.apache.hadoop.hive.ql.parse.repl.CopyUtils.regularCopy(
        at org.apache.hadoop.hive.ql.parse.repl.CopyUtils.copyAndVerify(
        at org.apache.hadoop.hive.ql.exec.ReplCopyTask.execute(
        at org.apache.hadoop.hive.ql.exec.Task.executeTask(
        at org.apache.hadoop.hive.ql.exec.TaskRunner.runSequential(
        at org.apache.hadoop.hive.ql.Driver.launchTask(
        at org.apache.hadoop.hive.ql.Driver.execute(
        at org.apache.hadoop.hive.ql.Driver.runInternal(
        at org.apache.hadoop.hive.cli.CliDriver.processLocalCmd(
        at org.apache.hadoop.hive.cli.CliDriver.processCmd(
        at org.apache.hadoop.hive.cli.CliDriver.processLine(
        at org.apache.hadoop.hive.cli.CliDriver.executeDriver(
        at org.apache.hadoop.hive.cli.CliDriver.main(
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(
        at java.lang.reflect.Method.invoke(
        at org.apache.hadoop.util.RunJar.main(

This message was sent by Atlassian JIRA

View raw message