Renukaprasad C created HIVE-22845:
-------------------------------------
Summary: Code compilation fails on Windows when user name begins
with 'N' or 'R'
Key: HIVE-22845
URL: https://issues.apache.org/jira/browse/HIVE-22845
Project: Hive
Issue Type: Bug
Reporter: Renukaprasad C
Assignee: Renukaprasad C
package-info.java is generated from the script - saveVersion.sh.
Generated contetnt is as follows.
/*
* Generated by saveVersion.sh
*/
@MetastoreVersionAnnotation(version="4.0.0-SNAPSHOT", shortVersion="4.0.0",
revision="Unknown", branch="Unknown",
user="India
enu", date="Thu Feb 6 17:12:46 IST 2020",
url="file:///cygdrive/f/hive/code/os/standalone-metastore",
srcChecksum="88f3dc17f75ffda6176faa649593b54e")
package org.apache.hadoop.hive.metastore.annotation;
When user name begings with 'R' (India\Renu), then it get parsed as Carriage
Return in between the string and fails compile. Same issue exists with name
begins with 'N' also.
Whereas compilation is fine with any other user name doesnt contain \r or \n.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)