Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E644E10BFB for ; Fri, 9 Aug 2013 19:24:55 +0000 (UTC) Received: (qmail 80283 invoked by uid 500); 9 Aug 2013 19:24:52 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 80218 invoked by uid 500); 9 Aug 2013 19:24:50 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 80194 invoked by uid 99); 9 Aug 2013 19:24:49 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Aug 2013 19:24:49 +0000 Date: Fri, 9 Aug 2013 19:24:49 +0000 (UTC) From: "stack (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-9174) javac hangs compiling hbase-example module since namespaces went in 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/HBASE-9174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13735166#comment-13735166 ] stack commented on HBASE-9174: ------------------------------ It looks like this: {code} .... Results : Tests run: 0, Failures: 0, Errors: 0, Skipped: 0 [INFO] [INFO] --- maven-surefire-plugin:2.12-TRUNK-HBASE-2:test (secondPartTestsExecution) @ hbase-it --- [INFO] Tests are skipped. [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building HBase - Examples 0.95.2-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ hbase-examples --- [INFO] Deleting /Users/stack/checkouts/0.95/hbase-examples/target [INFO] [INFO] --- maven-remote-resources-plugin:1.4:process (default) @ hbase-examples --- [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ hbase-examples --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /Users/stack/checkouts/0.95/hbase-examples/src/main/resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ hbase-examples --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 9 source files to /Users/stack/checkouts/0.95/hbase-examples/target/classes ... {code} When I jstack: {code} "main" prio=5 tid=7fb8b7000800 nid=0x109f69000 runnable [109f66000] java.lang.Thread.State: RUNNABLE at java.io.FileInputStream.readBytes(Native Method) at java.io.FileInputStream.read(FileInputStream.java:220) at com.sun.tools.javac.jvm.ClassReader.readInputStream(ClassReader.java:1897) at com.sun.tools.javac.jvm.ClassReader.fillIn(ClassReader.java:1844) at com.sun.tools.javac.jvm.ClassReader.complete(ClassReader.java:1777) at com.sun.tools.javac.code.Symbol.complete(Symbol.java:384) at com.sun.tools.javac.code.Symbol$ClassSymbol.complete(Symbol.java:766) at com.sun.tools.javac.jvm.ClassReader.loadClass(ClassReader.java:1951) at com.sun.tools.javac.comp.Resolve.loadClass(Resolve.java:867) at com.sun.tools.javac.comp.Resolve.findIdentInPackage(Resolve.java:1036) at com.sun.tools.javac.comp.Attr.selectSym(Attr.java:1921) at com.sun.tools.javac.comp.Attr.visitSelect(Attr.java:1835) at com.sun.tools.javac.tree.JCTree$JCFieldAccess.accept(JCTree.java:1522) at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:360) at com.sun.tools.javac.comp.Attr.attribType(Attr.java:390) at com.sun.tools.javac.comp.MemberEnter.attribImportType(MemberEnter.java:681) at com.sun.tools.javac.comp.MemberEnter.visitImport(MemberEnter.java:545) at com.sun.tools.javac.tree.JCTree$JCImport.accept(JCTree.java:495) at com.sun.tools.javac.comp.MemberEnter.memberEnter(MemberEnter.java:387) at com.sun.tools.javac.comp.MemberEnter.memberEnter(MemberEnter.java:399) at com.sun.tools.javac.comp.MemberEnter.visitTopLevel(MemberEnter.java:512) at com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:446) at com.sun.tools.javac.comp.MemberEnter.memberEnter(MemberEnter.java:387) at com.sun.tools.javac.comp.MemberEnter.complete(MemberEnter.java:819) at com.sun.tools.javac.code.Symbol.complete(Symbol.java:384) at com.sun.tools.javac.code.Symbol$ClassSymbol.complete(Symbol.java:766) at com.sun.tools.javac.comp.Enter.complete(Enter.java:464) at com.sun.tools.javac.comp.Enter.main(Enter.java:442) at com.sun.tools.javac.main.JavaCompiler.enterTrees(JavaCompiler.java:822) at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:727) at com.sun.tools.javac.main.Main.compile(Main.java:353) ... {code} If I add verbose to maven-compiler-plugin, I see it is stuck loading HRegion. After poking, it is this line that causes the hang in HRegion.java: {code} 0 final String logname = "hlog" + FSUtils.getTableName(tableDir) + 1 EnvironmentEdgeManager.currentTimeMillis(); {code} > javac hangs compiling hbase-example module since namespaces went in > ------------------------------------------------------------------- > > Key: HBASE-9174 > URL: https://issues.apache.org/jira/browse/HBASE-9174 > Project: HBase > Issue Type: Bug > Components: build > Reporter: stack > > javac hangs loading HRegion.class. If I remove the ns changes -- the import of TableName -- I can get it to compile again. Digging. > More detail to follow. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira