You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tajo.apache.org by babokim <gi...@git.apache.org> on 2014/06/16 06:42:56 UTC

[GitHub] tajo pull request: TAJO-874: Sometimes InvalidOperationException o...

GitHub user babokim opened a pull request:

    https://github.com/apache/tajo/pull/38

    TAJO-874: Sometimes InvalidOperationException occurs when aggregates TableStat.

    It is difficult to reproduce. So I added exception handling logic and type name in InvalidOperationException.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/babokim/tajo TAJO-874

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/tajo/pull/38.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #38
    
----
commit e07341bd38821777ae0056c84fbb3122d811c12a
Author: 김형준 <ba...@babokim-macbook-pro.local>
Date:   2014-06-15T00:38:34Z

    TAJO-874: Sometimes InvalidOperationException occurs when aggregates TableStat.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] tajo pull request: TAJO-874: Sometimes InvalidOperationException o...

Posted by hyunsik <gi...@git.apache.org>.
Github user hyunsik commented on the pull request:

    https://github.com/apache/tajo/pull/38#issuecomment-47076286
  
    +1
    
    LGTM!


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] tajo pull request: TAJO-874: Sometimes InvalidOperationException o...

Posted by hyunsik <gi...@git.apache.org>.
Github user hyunsik commented on the pull request:

    https://github.com/apache/tajo/pull/38#issuecomment-46942388
  
    Additionally, the latest patch needs rebase. I tried to rebase the patch against the latest revision. The above problem may be caused by my incorrect rebase.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] tajo pull request: TAJO-874: Sometimes InvalidOperationException o...

Posted by hyunsik <gi...@git.apache.org>.
Github user hyunsik commented on the pull request:

    https://github.com/apache/tajo/pull/38#issuecomment-46942196
  
    I'm facing the following errors from both 'maven clean install' and Junit test execution in IntelliJ. Could you check it?
    
    ```
    2014-06-24 16:56:51,377 INFO: org.apache.hadoop.hdfs.server.namenode.FSNamesystem.audit (logAuditMessage(7409)) - allowed=true	ugi=hyunsik (auth:SIMPLE)	ip=/127.0.0.1	cmd=getfileinfo	src=/tajo/warehouse/table14	dst=null	perm=null
    2014-06-24 16:56:51,378 INFO: org.apache.hadoop.hdfs.server.namenode.FSNamesystem.audit (logAuditMessage(7409)) - allowed=true	ugi=hyunsik (auth:SIMPLE)	ip=/127.0.0.1	cmd=contentSummary	src=/tajo/warehouse/table14	dst=null	perm=null
    2014-06-24 16:56:51,378 INFO: org.apache.tajo.catalog.CatalogServer (createTable(523)) - relation "default.table14" is added to the catalog (127.0.0.1:16371)
    2014-06-24 16:56:51,378 INFO: org.apache.tajo.master.GlobalEngine (createTableOnPath(742)) - Table default.table14 is created (48)
    
    org.jboss.netty.channel.ChannelException: Failed to create a selector.
    	at org.jboss.netty.channel.socket.nio.AbstractNioSelector.openSelector(AbstractNioSelector.java:337)
    	at org.jboss.netty.channel.socket.nio.AbstractNioSelector.<init>(AbstractNioSelector.java:95)
    	at org.jboss.netty.channel.socket.nio.AbstractNioWorker.<init>(AbstractNioWorker.java:53)
    	at org.jboss.netty.channel.socket.nio.NioWorker.<init>(NioWorker.java:45)
    	at org.jboss.netty.channel.socket.nio.NioWorkerPool.createWorker(NioWorkerPool.java:45)
    	at org.jboss.netty.channel.socket.nio.NioWorkerPool.createWorker(NioWorkerPool.java:28)
    	at org.jboss.netty.channel.socket.nio.AbstractNioWorkerPool.newWorker(AbstractNioWorkerPool.java:99)
    	at org.jboss.netty.channel.socket.nio.AbstractNioWorkerPool.init(AbstractNioWorkerPool.java:69)
    	at org.jboss.netty.channel.socket.nio.NioWorkerPool.<init>(NioWorkerPool.java:39)
    	at org.apache.tajo.rpc.RpcChannelFactory.createClientChannelFactory(RpcChannelFactory.java:71)
    	at org.apache.tajo.rpc.RpcConnectionPool.newPool(RpcConnectionPool.java:58)
    	at org.apache.tajo.client.TajoClient.<init>(TajoClient.java:104)
    	at org.apache.tajo.client.TajoClient.<init>(TajoClient.java:82)
    	at org.apache.tajo.TajoTestingCluster.createTable(TajoTestingCluster.java:605)
    	at org.apache.tajo.TajoTestingCluster.createTable(TajoTestingCluster.java:591)
    	at org.apache.tajo.engine.query.TestJoinQuery.createOuterJoinTestTable(TestJoinQuery.java:936)
    	at org.apache.tajo.engine.query.TestJoinQuery.testLeftOuterJoinPredicationCaseByCase3(TestJoinQuery.java:643)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
    	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
    	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
    	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
    	at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
    	at org.junit.rules.RunRules.evaluate(RunRules.java:20)
    	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
    	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
    	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
    	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
    	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
    	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
    	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
    	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
    	at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
    	at org.junit.runners.Suite.runChild(Suite.java:127)
    	at org.junit.runners.Suite.runChild(Suite.java:26)
    	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
    	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
    	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
    	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
    	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
    	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
    	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
    	at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
    	at org.junit.runners.Suite.runChild(Suite.java:127)
    	at org.junit.runners.Suite.runChild(Suite.java:26)
    	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
    	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
    	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
    	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
    	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
    	at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
    	at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
    	at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:77)
    	at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:195)
    	at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:63)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    	at com.intellij.rt.execution.application.AppMain.main(AppMain.java:120)
    Caused by: java.io.IOException: Too many open files
    	at sun.nio.ch.IOUtil.makePipe(Native Method)
    	at sun.nio.ch.EPollSelectorImpl.<init>(EPollSelectorImpl.java:65)
    	at sun.nio.ch.EPollSelectorProvider.openSelector(EPollSelectorProvider.java:36)
    	at java.nio.channels.Selector.open(Selector.java:227)
    	at org.jboss.netty.channel.socket.nio.AbstractNioSelector.openSelector(AbstractNioSelector.java:335)
    	... 62 more
    ```


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] tajo pull request: TAJO-874: Sometimes InvalidOperationException o...

Posted by babokim <gi...@git.apache.org>.
Github user babokim commented on the pull request:

    https://github.com/apache/tajo/pull/38#issuecomment-47071960
  
    Merged with trunk and test passed


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] tajo pull request: TAJO-874: Sometimes InvalidOperationException o...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/tajo/pull/38


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---