From dev-return-49109-archive-asf-public=cust-asf.ponee.io@phoenix.apache.org Mon Feb 5 19:32:07 2018 Return-Path: X-Original-To: archive-asf-public@eu.ponee.io Delivered-To: archive-asf-public@eu.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by mx-eu-01.ponee.io (Postfix) with ESMTP id D6C69180647 for ; Mon, 5 Feb 2018 19:32:07 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id C6B2F160C3B; Mon, 5 Feb 2018 18:32:07 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 1B457160C4B for ; Mon, 5 Feb 2018 19:32:06 +0100 (CET) Received: (qmail 15652 invoked by uid 500); 5 Feb 2018 18:32:06 -0000 Mailing-List: contact dev-help@phoenix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@phoenix.apache.org Delivered-To: mailing list dev@phoenix.apache.org Received: (qmail 15641 invoked by uid 99); 5 Feb 2018 18:32:06 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Feb 2018 18:32:06 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id B9BB5C036A for ; Mon, 5 Feb 2018 18:32:05 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -109.511 X-Spam-Level: X-Spam-Status: No, score=-109.511 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id l5em4535XKpZ for ; Mon, 5 Feb 2018 18:32:04 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 267A45F396 for ; Mon, 5 Feb 2018 18:32:04 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 11EAFE019D for ; Mon, 5 Feb 2018 18:32:03 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id D124721E86 for ; Mon, 5 Feb 2018 18:32:01 +0000 (UTC) Date: Mon, 5 Feb 2018 18:32:01 +0000 (UTC) From: "Sergey Soldatov (JIRA)" To: dev@phoenix.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (PHOENIX-4583) Hive IT tests may fail during mini cluster initialization MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/PHOENIX-4583?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16352734#comment-16352734 ] Sergey Soldatov commented on PHOENIX-4583: ------------------------------------------ The reason for this failure is that we create two DFS clusters in each test - one for HBase, one for Hive. And it comes that for Hive we are using default base dir, which is a fixed path. So both tests are trying to use it at the same time during initialization. The solution is quite simple - provide a unique name for hive DFS base dir. > Hive IT tests may fail during mini cluster initialization > --------------------------------------------------------- > > Key: PHOENIX-4583 > URL: https://issues.apache.org/jira/browse/PHOENIX-4583 > Project: Phoenix > Issue Type: Bug > Affects Versions: 4.14.0 > Reporter: Yesha Vora > Assignee: Sergey Soldatov > Priority: Major > Fix For: 4.14.0 > > > If both HiveMapReduceIT and HiveTezIT are running in parallel, they may fail with an exception during DFS init: > {noformat} > java.io.FileNotFoundException: No valid image files found > at org.apache.hadoop.hdfs.server.namenode.FSImageTransactionalStorageInspector.getLatestImages(FSImageTransactionalStorageInspector.java:165) > at org.apache.hadoop.hdfs.server.namenode.FSImage.loadFSImage(FSImage.java:618) > at org.apache.hadoop.hdfs.server.namenode.FSImage.recoverTransitionRead(FSImage.java:289) > at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.loadFSImage(FSNamesystem.java:1077) > at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.loadFromDisk(FSNamesystem.java:724) > at org.apache.hadoop.hdfs.server.namenode.NameNode.loadNamesystem(NameNode.java:697) > at org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:761) > at org.apache.hadoop.hdfs.server.namenode.NameNode.(NameNode.java:1001) > at org.apache.hadoop.hdfs.server.namenode.NameNode.(NameNode.java:985) > at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1710) > at org.apache.hadoop.hdfs.MiniDFSCluster.createNameNode(MiniDFSCluster.java:1155) > at org.apache.hadoop.hdfs.MiniDFSCluster.createNameNodesAndSetConf(MiniDFSCluster.java:1030) > at org.apache.hadoop.hdfs.MiniDFSCluster.initMiniDFSCluster(MiniDFSCluster.java:823) > at org.apache.hadoop.hdfs.MiniDFSCluster.(MiniDFSCluster.java:754) > at org.apache.hadoop.hdfs.MiniDFSCluster.(MiniDFSCluster.java:624) > at org.apache.hadoop.hive.shims.Hadoop23Shims.getMiniDfs(Hadoop23Shims.java:514) > at org.apache.phoenix.hive.HiveTestUtil.(HiveTestUtil.java:303) > at org.apache.phoenix.hive.HiveTestUtil.(HiveTestUtil.java:261) > at org.apache.phoenix.hive.BaseHivePhoenixStoreIT.setup(BaseHivePhoenixStoreIT.java:85) > at org.apache.phoenix.hive.HiveMapReduceIT.setUpBeforeClass(HiveMapReduceIT.java:31) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) > at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) > at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) > at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) > at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24) > at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) > at org.junit.runners.ParentRunner.run(ParentRunner.java:363) > at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:367) > at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:274) > at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) > at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:161) > at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290) > at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242) > at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121) > {noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005)