[
https://issues.apache.org/jira/browse/TEZ-3728?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16010497#comment-16010497
]
TezQA commented on TEZ-3728:
----------------------------
{color:red}-1 overall{color}. Here are the results of testing the latest
attachment
http://issues.apache.org/jira/secure/attachment/12868056/TEZ-3728.patch
against master revision 6317725.
{color:green}+1 @author{color}. The patch does not contain any @author
tags.
{color:red}-1 tests included{color}. The patch doesn't appear to include
any new or modified tests.
Please justify why no new tests are needed for this
patch.
Also please list what manual steps were performed to
verify this patch.
{color:green}+1 javac{color}. The applied patch does not increase the
total number of javac compiler warnings.
{color:green}+1 javadoc{color}. There were no new javadoc warning messages.
{color:green}+1 findbugs{color}. The patch does not introduce any new
Findbugs (version 3.0.1) warnings.
{color:green}+1 release audit{color}. The applied patch does not increase
the total number of release audit warnings.
{color:green}+1 core tests{color}. The patch passed unit tests in .
Test results:
https://builds.apache.org/job/PreCommit-TEZ-Build/2447//testReport/
Console output: https://builds.apache.org/job/PreCommit-TEZ-Build/2447//console
This message is automatically generated.
> When using HDFS federation, setting tez.simple.history.logging.dir to
> viewfs:// causes AM to fail
> -------------------------------------------------------------------------------------------------
>
> Key: TEZ-3728
> URL: https://issues.apache.org/jira/browse/TEZ-3728
> Project: Apache Tez
> Issue Type: Bug
> Affects Versions: 0.8.5
> Environment: hive1.1.0
> hadoop2.6.0
> Reporter: Chen Xi
> Attachments: TEZ-3728.patch
>
>
> tez.simple.history.logging.dir does not support viewfs schema.
> In tez-site.xml we have:
> {noformat}
> <property>
> <name>tez.simple.history.logging.dir</name>
> <value>viewfs://clusterX/history-tez</value>
> </property>
> {noformat}
> TezAM throws such exception:
> {noformat}
> 2017-05-15 15:34:00,809 [INFO] [main] |impl.SimpleHistoryLoggingService|:
> Using configured log file location for SimpleHistoryLoggingService
> logDirPath=viewfs://clusterX/history-tez
> 2017-05-15 15:34:00,812 [INFO] [main] |impl.SimpleHistoryLoggingService|:
> Initializing SimpleHistoryLoggingService,
> logFileLocation=hdfs://ns2/history-tez/history.txt.appattempt_1494315174208_1108_000001,
> maxErrors=10
> 2017-05-15 15:34:00,812 [INFO] [main] |recovery.RecoveryService|:
> RecoveryService initialized with
> recoveryPath=hdfs://ns2/tmp/hive/op/_tez_session_dir/6b76d2f7-2f00-4f0c-9a15-4ad8478cf32e/.tez/application_1494315174208_1108/recovery/1,
> bufferSize(bytes)=8192, flushInterval(s)=30, maxUnflushedEvents=100
> 2017-05-15 15:34:00,814 [INFO] [main] |history.HistoryEventHandler|:
> [HISTORY][DAG:N/A][Event:APP_LAUNCHED]:
> applicationId=application_1494315174208_1108, appSubmitTime=1494833615647,
> launchTime=1494833639649
> 2017-05-15 15:34:00,815 [INFO] [main] |history.HistoryEventHandler|:
> [HISTORY][DAG:N/A][Event:AM_LAUNCHED]:
> appAttemptId=appattempt_1494315174208_1108_000001,
> appSubmitTime=1494833615647, launchTime=1494833639649
> 2017-05-15 15:34:00,818 [INFO]
> [ServiceThread:org.apache.tez.dag.history.HistoryEventHandler]
> |impl.SimpleHistoryLoggingService|: Starting SimpleHistoryLoggingService
> 2017-05-15 15:34:00,819 [INFO]
> [ServiceThread:org.apache.tez.dag.history.HistoryEventHandler]
> |service.AbstractService|: Service
> org.apache.tez.dag.history.logging.impl.SimpleHistoryLoggingService failed in
> state STARTED; cause: java.lang.IllegalArgumentException: Wrong FS:
> hdfs://ns2/history-tez/history.txt.appattempt_1494315174208_1108_000001,
> expected: viewfs://clusterX/
> java.lang.IllegalArgumentException: Wrong FS:
> hdfs://ns2/history-tez/history.txt.appattempt_1494315174208_1108_000001,
> expected: viewfs://clusterX/
> at org.apache.hadoop.fs.FileSystem.checkPath(FileSystem.java:645)
> at
> org.apache.hadoop.fs.viewfs.ViewFileSystem.getUriPath(ViewFileSystem.java:117)
> at
> org.apache.hadoop.fs.viewfs.ViewFileSystem.getDefaultReplication(ViewFileSystem.java:615)
> at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:786)
> at
> org.apache.tez.dag.history.logging.impl.SimpleHistoryLoggingService.serviceStart(SimpleHistoryLoggingService.java:96)
> at
> org.apache.hadoop.service.AbstractService.start(AbstractService.java:193)
> at
> org.apache.hadoop.service.CompositeService.serviceStart(CompositeService.java:120)
> at
> org.apache.tez.dag.history.HistoryEventHandler.serviceStart(HistoryEventHandler.java:105)
> at
> org.apache.hadoop.service.AbstractService.start(AbstractService.java:193)
> at
> org.apache.tez.dag.app.DAGAppMaster$ServiceWithDependency.start(DAGAppMaster.java:1838)
> at
> org.apache.tez.dag.app.DAGAppMaster$ServiceThread.run(DAGAppMaster.java:1859)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)