hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hive QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-14412) Add a timezone-aware timestamp
Date Thu, 13 Apr 2017 06:21:41 GMT

    [ https://issues.apache.org/jira/browse/HIVE-14412?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15967185#comment-15967185
] 

Hive QA commented on HIVE-14412:
--------------------------------



Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12830014/HIVE-14412.8.patch

{color:red}ERROR:{color} -1 due to build exiting with an error

Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/4671/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/4671/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-4671/

Messages:
{noformat}
Executing org.apache.hive.ptest.execution.TestCheckPhase
Executing org.apache.hive.ptest.execution.PrepPhase
Tests exited with: NonZeroExitCodeException
Command 'bash /data/hiveptest/working/scratch/source-prep.sh' failed with exit status 1 and
output '+ date '+%Y-%m-%d %T.%3N'
2017-04-13 06:21:23.845
+ [[ -n /usr/lib/jvm/java-8-openjdk-amd64 ]]
+ export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
+ JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
+ export PATH=/usr/lib/jvm/java-8-openjdk-amd64/bin/:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
+ PATH=/usr/lib/jvm/java-8-openjdk-amd64/bin/:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
+ export 'ANT_OPTS=-Xmx1g -XX:MaxPermSize=256m '
+ ANT_OPTS='-Xmx1g -XX:MaxPermSize=256m '
+ export 'MAVEN_OPTS=-Xmx1g '
+ MAVEN_OPTS='-Xmx1g '
+ cd /data/hiveptest/working/
+ tee /data/hiveptest/logs/PreCommit-HIVE-Build-4671/source-prep.txt
+ [[ false == \t\r\u\e ]]
+ mkdir -p maven ivy
+ [[ git = \s\v\n ]]
+ [[ git = \g\i\t ]]
+ [[ -z master ]]
+ [[ -d apache-github-source-source ]]
+ [[ ! -d apache-github-source-source/.git ]]
+ [[ ! -d apache-github-source-source ]]
+ date '+%Y-%m-%d %T.%3N'
2017-04-13 06:21:23.848
+ cd apache-github-source-source
+ git fetch origin
+ git reset --hard HEAD
HEAD is now at 3f681c2 HIVE-16390 : LLAP IO should take job config into account; also LLAP
config should load defaults (Sergey Shelukhin, reviewed by Siddharth Seth)
+ git clean -f -d
+ git checkout master
Already on 'master'
Your branch is up-to-date with 'origin/master'.
+ git reset --hard origin/master
HEAD is now at 3f681c2 HIVE-16390 : LLAP IO should take job config into account; also LLAP
config should load defaults (Sergey Shelukhin, reviewed by Siddharth Seth)
+ git merge --ff-only origin/master
Already up-to-date.
+ date '+%Y-%m-%d %T.%3N'
2017-04-13 06:21:25.789
+ patchCommandPath=/data/hiveptest/working/scratch/smart-apply-patch.sh
+ patchFilePath=/data/hiveptest/working/scratch/build.patch
+ [[ -f /data/hiveptest/working/scratch/build.patch ]]
+ chmod +x /data/hiveptest/working/scratch/smart-apply-patch.sh
+ /data/hiveptest/working/scratch/smart-apply-patch.sh /data/hiveptest/working/scratch/build.patch
error: a/contrib/src/test/queries/clientnegative/serde_regex.q: No such file or directory
error: a/contrib/src/test/queries/clientpositive/serde_regex.q: No such file or directory
error: a/contrib/src/test/results/clientnegative/serde_regex.q.out: No such file or directory
error: a/contrib/src/test/results/clientpositive/serde_regex.q.out: No such file or directory
error: a/hbase-handler/src/test/queries/positive/hbase_timestamp.q: No such file or directory
error: a/hbase-handler/src/test/results/positive/hbase_timestamp.q.out: No such file or directory
error: a/jdbc/src/java/org/apache/hive/jdbc/HiveBaseResultSet.java: No such file or directory
error: a/jdbc/src/java/org/apache/hive/jdbc/JdbcColumn.java: No such file or directory
error: a/ql/src/java/org/apache/hadoop/hive/ql/exec/FunctionRegistry.java: No such file or
directory
error: a/ql/src/java/org/apache/hadoop/hive/ql/exec/GroupByOperator.java: No such file or
directory
error: a/ql/src/java/org/apache/hadoop/hive/ql/exec/SerializationUtilities.java: No such file
or directory
error: a/ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/translator/TypeConverter.java:
No such file or directory
error: a/ql/src/java/org/apache/hadoop/hive/ql/parse/DDLSemanticAnalyzer.java: No such file
or directory
error: a/ql/src/java/org/apache/hadoop/hive/ql/parse/HiveLexer.g: No such file or directory
error: a/ql/src/java/org/apache/hadoop/hive/ql/parse/HiveParser.g: No such file or directory
error: a/ql/src/java/org/apache/hadoop/hive/ql/parse/IdentifiersParser.g: No such file or
directory
error: a/ql/src/java/org/apache/hadoop/hive/ql/parse/TypeCheckProcFactory.java: No such file
or directory
error: a/ql/src/java/org/apache/hadoop/hive/ql/stats/StatsUtils.java: No such file or directory
error: a/ql/src/java/org/apache/hadoop/hive/ql/udf/UDFHour.java: No such file or directory
error: a/ql/src/java/org/apache/hadoop/hive/ql/udf/UDFToBoolean.java: No such file or directory
error: a/ql/src/java/org/apache/hadoop/hive/ql/udf/UDFToByte.java: No such file or directory
error: a/ql/src/java/org/apache/hadoop/hive/ql/udf/UDFToDouble.java: No such file or directory
error: a/ql/src/java/org/apache/hadoop/hive/ql/udf/UDFToFloat.java: No such file or directory
error: a/ql/src/java/org/apache/hadoop/hive/ql/udf/UDFToInteger.java: No such file or directory
error: a/ql/src/java/org/apache/hadoop/hive/ql/udf/UDFToLong.java: No such file or directory
error: a/ql/src/java/org/apache/hadoop/hive/ql/udf/UDFToShort.java: No such file or directory
error: a/ql/src/java/org/apache/hadoop/hive/ql/udf/UDFToString.java: No such file or directory
error: a/ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDF.java: No such file or
directory
error: a/ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDFDate.java: No such file
or directory
error: a/ql/src/test/queries/clientnegative/serde_regex.q: No such file or directory
error: a/ql/src/test/queries/clientnegative/serde_regex2.q: No such file or directory
error: a/ql/src/test/queries/clientnegative/serde_regex3.q: No such file or directory
error: a/ql/src/test/queries/clientpositive/create_like.q: No such file or directory
error: a/ql/src/test/queries/clientpositive/join43.q: No such file or directory
error: a/ql/src/test/queries/clientpositive/serde_regex.q: No such file or directory
error: a/ql/src/test/results/clientnegative/invalid_cast_from_binary_1.q.out: No such file
or directory
error: a/ql/src/test/results/clientnegative/invalid_cast_from_binary_2.q.out: No such file
or directory
error: a/ql/src/test/results/clientnegative/invalid_cast_from_binary_3.q.out: No such file
or directory
error: a/ql/src/test/results/clientnegative/invalid_cast_from_binary_4.q.out: No such file
or directory
error: a/ql/src/test/results/clientnegative/invalid_cast_from_binary_5.q.out: No such file
or directory
error: a/ql/src/test/results/clientnegative/invalid_cast_from_binary_6.q.out: No such file
or directory
error: a/ql/src/test/results/clientnegative/serde_regex.q.out: No such file or directory
error: a/ql/src/test/results/clientnegative/serde_regex2.q.out: No such file or directory
error: a/ql/src/test/results/clientnegative/serde_regex3.q.out: No such file or directory
error: a/ql/src/test/results/clientnegative/wrong_column_type.q.out: No such file or directory
error: a/ql/src/test/results/clientpositive/create_like.q.out: No such file or directory
error: a/ql/src/test/results/clientpositive/join43.q.out: No such file or directory
error: a/ql/src/test/results/clientpositive/serde_regex.q.out: No such file or directory
error: a/serde/if/serde.thrift: No such file or directory
error: a/serde/src/gen/thrift/gen-cpp/serde_constants.cpp: No such file or directory
error: a/serde/src/gen/thrift/gen-cpp/serde_constants.h: No such file or directory
error: a/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde/serdeConstants.java:
No such file or directory
error: a/serde/src/gen/thrift/gen-php/org/apache/hadoop/hive/serde/Types.php: No such file
or directory
error: a/serde/src/gen/thrift/gen-py/org_apache_hadoop_hive_serde/constants.py: No such file
or directory
error: a/serde/src/gen/thrift/gen-rb/serde_constants.rb: No such file or directory
error: a/serde/src/java/org/apache/hadoop/hive/serde2/SerDeUtils.java: No such file or directory
error: a/serde/src/java/org/apache/hadoop/hive/serde2/binarysortable/BinarySortableSerDe.java:
No such file or directory
error: a/serde/src/java/org/apache/hadoop/hive/serde2/binarysortable/fast/BinarySortableDeserializeRead.java:
No such file or directory
error: a/serde/src/java/org/apache/hadoop/hive/serde2/io/TimestampWritable.java: No such file
or directory
error: a/serde/src/java/org/apache/hadoop/hive/serde2/lazy/LazyFactory.java: No such file
or directory
error: a/serde/src/java/org/apache/hadoop/hive/serde2/lazy/LazyTimestamp.java: No such file
or directory
error: a/serde/src/java/org/apache/hadoop/hive/serde2/lazy/LazyUtils.java: No such file or
directory
error: a/serde/src/java/org/apache/hadoop/hive/serde2/lazy/objectinspector/primitive/LazyPrimitiveObjectInspectorFactory.java:
No such file or directory
error: a/serde/src/java/org/apache/hadoop/hive/serde2/lazybinary/LazyBinaryFactory.java: No
such file or directory
error: a/serde/src/java/org/apache/hadoop/hive/serde2/lazybinary/LazyBinarySerDe.java: No
such file or directory
error: a/serde/src/java/org/apache/hadoop/hive/serde2/lazybinary/LazyBinaryUtils.java: No
such file or directory
error: a/serde/src/java/org/apache/hadoop/hive/serde2/objectinspector/ObjectInspectorConverters.java:
No such file or directory
error: a/serde/src/java/org/apache/hadoop/hive/serde2/objectinspector/ObjectInspectorUtils.java:
No such file or directory
error: a/serde/src/java/org/apache/hadoop/hive/serde2/objectinspector/PrimitiveObjectInspector.java:
No such file or directory
error: a/serde/src/java/org/apache/hadoop/hive/serde2/objectinspector/primitive/JavaTimestampObjectInspector.java:
No such file or directory
error: a/serde/src/java/org/apache/hadoop/hive/serde2/objectinspector/primitive/PrimitiveObjectInspectorConverter.java:
No such file or directory
error: a/serde/src/java/org/apache/hadoop/hive/serde2/objectinspector/primitive/PrimitiveObjectInspectorFactory.java:
No such file or directory
error: a/serde/src/java/org/apache/hadoop/hive/serde2/objectinspector/primitive/PrimitiveObjectInspectorUtils.java:
No such file or directory
error: a/serde/src/java/org/apache/hadoop/hive/serde2/thrift/Type.java: No such file or directory
error: a/serde/src/java/org/apache/hadoop/hive/serde2/typeinfo/TypeInfoFactory.java: No such
file or directory
error: a/serde/src/test/org/apache/hadoop/hive/serde2/io/TestTimestampWritable.java: No such
file or directory
error: a/service-rpc/if/TCLIService.thrift: No such file or directory
error: a/service-rpc/src/gen/thrift/gen-cpp/TCLIService_constants.cpp: No such file or directory
error: a/service-rpc/src/gen/thrift/gen-cpp/TCLIService_types.cpp: No such file or directory
error: a/service-rpc/src/gen/thrift/gen-cpp/TCLIService_types.h: No such file or directory
error: a/service-rpc/src/gen/thrift/gen-javabean/org/apache/hive/service/rpc/thrift/TCLIServiceConstants.java:
No such file or directory
error: a/service-rpc/src/gen/thrift/gen-javabean/org/apache/hive/service/rpc/thrift/TProtocolVersion.java:
No such file or directory
error: a/service-rpc/src/gen/thrift/gen-javabean/org/apache/hive/service/rpc/thrift/TTypeId.java:
No such file or directory
error: a/service-rpc/src/gen/thrift/gen-php/Types.php: No such file or directory
error: a/service-rpc/src/gen/thrift/gen-py/TCLIService/constants.py: No such file or directory
error: a/service-rpc/src/gen/thrift/gen-py/TCLIService/ttypes.py: No such file or directory
error: a/service-rpc/src/gen/thrift/gen-rb/t_c_l_i_service_constants.rb: No such file or directory
error: a/service-rpc/src/gen/thrift/gen-rb/t_c_l_i_service_types.rb: No such file or directory
error: a/service/src/java/org/apache/hive/service/cli/ColumnValue.java: No such file or directory
error: a/service/src/java/org/apache/hive/service/cli/TypeDescriptor.java: No such file or
directory
error: a/storage-api/src/java/org/apache/hadoop/hive/ql/util/JavaDataModel.java: No such file
or directory
error: a/storage-api/src/java/org/apache/hadoop/hive/ql/util/TimestampUtils.java: No such
file or directory
The patch does not appear to apply with p0, p1, or p2
'
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12830014 - PreCommit-HIVE-Build

> Add a timezone-aware timestamp
> ------------------------------
>
>                 Key: HIVE-14412
>                 URL: https://issues.apache.org/jira/browse/HIVE-14412
>             Project: Hive
>          Issue Type: Sub-task
>          Components: Hive
>            Reporter: Rui Li
>            Assignee: Rui Li
>         Attachments: HIVE-14412.1.patch, HIVE-14412.2.patch, HIVE-14412.3.patch, HIVE-14412.4.patch,
HIVE-14412.5.patch, HIVE-14412.6.patch, HIVE-14412.7.patch, HIVE-14412.8.patch
>
>
> Java's Timestamp stores the time elapsed since the epoch. While it's by itself unambiguous,
ambiguity comes when we parse a string into timestamp, or convert a timestamp to string, causing
problems like HIVE-14305.
> To solve the issue, I think we should make timestamp aware of timezone.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message