[jira] [Commented] (ASTERIXDB-1534) NPE when restart the server
[ https://issues.apache.org/jira/browse/ASTERIXDB-1534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15400469#comment-15400469 ] Jianfeng Jia commented on ASTERIXDB-1534: - finally, I borrowed another clean node from [~imaxon] and reproduced on the technetium machine. [~imaxon] the debug port is open on 8001. you can have a check. > NPE when restart the server > --- > > Key: ASTERIXDB-1534 > URL: https://issues.apache.org/jira/browse/ASTERIXDB-1534 > Project: Apache AsterixDB > Issue Type: Bug > Components: Storage > Environment: master > commit a89fae64ac21fb8eefde79f79d2dbe1a0e54c364 > Date: Wed Jul 6 07:58:55 2016 -0700 >Reporter: Jianfeng Jia >Assignee: Michael Blow > Attachments: asterix-configuration.xml, ingest.sh > > > When I stop and start the cluster by managix, I hit the following error: > {code} > ERROR: > /rhome/jianfeng/managix/home/asterix/cloudberry/.nfs02180534118e > (No such file or directory) > j > {code} > And no nc and cc got started. > After a while, I ran the managix start again, the cluster restart > successfully. > But one of the dataset can't answer any queries. The simplest select query > {code} > for $t in dataset twitter.ds_tweet limit 5 return $t > {code} > will give me the following error: > {code} > Caused by: org.apache.hyracks.api.exceptions.HyracksDataException: > org.apache.hyracks.api.exceptions.HyracksDataException: > java.util.concurrent.ExecutionException: > org.apache.hyracks.api.exceptions.HyracksDataException: > java.lang.NullPointerException > at > org.apache.hyracks.control.common.utils.ExceptionUtils.setNodeIds(ExceptionUtils.java:45) > at org.apache.hyracks.control.nc.Task.run(Task.java:319) > ... 3 more > Caused by: org.apache.hyracks.api.exceptions.HyracksDataException: > java.util.concurrent.ExecutionException: > org.apache.hyracks.api.exceptions.HyracksDataException: > java.lang.NullPointerException > at > org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable.runInParallel(SuperActivityOperatorNodePushable.java:218) > at > org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable.initialize(SuperActivityOperatorNodePushable.java:83) > at org.apache.hyracks.control.nc.Task.run(Task.java:263) > ... 3 more > Caused by: java.util.concurrent.ExecutionException: > org.apache.hyracks.api.exceptions.HyracksDataException: > java.lang.NullPointerException > at java.util.concurrent.FutureTask.report(FutureTask.java:122) > at java.util.concurrent.FutureTask.get(FutureTask.java:192) > at > org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable.runInParallel(SuperActivityOperatorNodePushable.java:212) > ... 5 more > Caused by: org.apache.hyracks.api.exceptions.HyracksDataException: > java.lang.NullPointerException > at > org.apache.hyracks.storage.am.common.dataflow.IndexSearchOperatorNodePushable.nextFrame(IndexSearchOperatorNodePushable.java:187) > at > org.apache.hyracks.dataflow.common.comm.io.AbstractFrameAppender.write(AbstractFrameAppender.java:93) > at > org.apache.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.flushAndReset(AbstractOneInputOneOutputOneFramePushRuntime.java:63) > at > org.apache.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.flushIfNotFailed(AbstractOneInputOneOutputOneFramePushRuntime.java:69) > at > org.apache.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.close(AbstractOneInputOneOutputOneFramePushRuntime.java:55) > at > org.apache.hyracks.algebricks.runtime.operators.std.AssignRuntimeFactory$1.close(AssignRuntimeFactory.java:122) > at > org.apache.hyracks.algebricks.runtime.operators.std.EmptyTupleSourceRuntimeFactory$1.close(EmptyTupleSourceRuntimeFactory.java:60) > at > org.apache.hyracks.algebricks.runtime.operators.meta.AlgebricksMetaOperatorDescriptor$1.initialize(AlgebricksMetaOperatorDescriptor.java:116) > at > org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable.lambda$initialize$0(SuperActivityOperatorNodePushable.java:83) > at > org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable$$Lambda$1/350086994.runAction(Unknown > Source) > at > org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable$1.call(SuperActivityOperatorNodePushable.java:205) > at > org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable$1.call(SuperActivityOperatorNodePushable.java:202) > at java.util.concurrent.FutureTask.run(FutureTask.java:266) > ... 3 more > Caused by: java.lang.NullPointerException > at >
Change in asterixdb[master]: ASTERIXDB-1479: Change storage valid int and add explicit ve...
Michael Blow has posted comments on this change. Change subject: ASTERIXDB-1479: Change storage valid int and add explicit version .. Patch Set 18: Code-Review+2 -- To view, visit https://asterix-gerrit.ics.uci.edu/919 To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings Gerrit-MessageType: comment Gerrit-Change-Id: I888ff0eacf5b3cb6ad7ec002c74f113c6ffcd496 Gerrit-PatchSet: 18 Gerrit-Project: asterixdb Gerrit-Branch: master Gerrit-Owner: Ian MaxonGerrit-Reviewer: Ian Maxon Gerrit-Reviewer: Jenkins Gerrit-Reviewer: Michael Blow Gerrit-Reviewer: Till Westmann Gerrit-Reviewer: abdullah alamoudi Gerrit-HasComments: No
Change in asterixdb[master]: Support UNION ALL.
Jenkins has posted comments on this change. Change subject: Support UNION ALL. .. Patch Set 3: Integration Tests Started https://asterix-jenkins.ics.uci.edu/job/asterix-gerrit-integration-tests/210/ -- To view, visit https://asterix-gerrit.ics.uci.edu/1035 To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings Gerrit-MessageType: comment Gerrit-Change-Id: Ifadf1707bb2b6bed22f8fc5792c635e87291a468 Gerrit-PatchSet: 3 Gerrit-Project: asterixdb Gerrit-Branch: master Gerrit-Owner: Yingyi BuGerrit-Reviewer: Jenkins Gerrit-HasComments: No
Change in asterixdb[master]: Support UNION ALL.
Jenkins has posted comments on this change. Change subject: Support UNION ALL. .. Patch Set 3: WARNING: THIS CHANGE CONTAINS CROSS-PRODUCT CHANGES IN: * asterixdb * hyracks-fullstack PLEASE REVIEW CAREFULLY AND LOOK FOR API CHANGES! -- To view, visit https://asterix-gerrit.ics.uci.edu/1035 To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings Gerrit-MessageType: comment Gerrit-Change-Id: Ifadf1707bb2b6bed22f8fc5792c635e87291a468 Gerrit-PatchSet: 3 Gerrit-Project: asterixdb Gerrit-Branch: master Gerrit-Owner: Yingyi BuGerrit-Reviewer: Jenkins Gerrit-HasComments: No
[jira] [Updated] (ASTERIXDB-1557) "Closing unopened file" during instance shutdown
[ https://issues.apache.org/jira/browse/ASTERIXDB-1557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yingyi Bu updated ASTERIXDB-1557: - Description: The following exception show up from time to time at the end of runtime tests, though the tests can pass successfully. {noformat} SEVERE: Stopping component instanceorg.apache.asterix.transaction.management.service.logging.LogManager dump state false dump path null Jul 29, 2016 8:54:18 PM org.apache.hyracks.api.lifecycle.LifeCycleComponentManager stopAll SEVERE: Stopping component instanceorg.apache.hyracks.storage.common.buffercache.BufferCache dump state false dump path null org.apache.hyracks.api.exceptions.HyracksDataException: Closing unopened file at org.apache.hyracks.storage.common.buffercache.BufferCache.closeFile(BufferCache.java:971) at org.apache.hyracks.storage.am.bloomfilter.impls.BloomFilter.deactivate(BloomFilter.java:183) at org.apache.hyracks.storage.am.lsm.invertedindex.impls.LSMInvertedIndexDiskComponent.destroy(LSMInvertedIndexDiskComponent.java:49) at org.apache.hyracks.storage.am.lsm.common.impls.LSMHarness.exitComponents(LSMHarness.java:341) at org.apache.hyracks.storage.am.lsm.common.impls.LSMHarness.merge(LSMHarness.java:489) at org.apache.hyracks.storage.am.lsm.invertedindex.impls.LSMInvertedIndexAccessor.merge(LSMInvertedIndexAccessor.java:121) at org.apache.hyracks.storage.am.lsm.invertedindex.impls.LSMInvertedIndexMergeOperation.call(LSMInvertedIndexMergeOperation.java:84) at org.apache.hyracks.storage.am.lsm.invertedindex.impls.LSMInvertedIndexMergeOperation.call(LSMInvertedIndexMergeOperation.java:37) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) {noformat} was: The following exception show up from time to time at the end of runtime tests. {noformat} SEVERE: Stopping component instanceorg.apache.asterix.transaction.management.service.logging.LogManager dump state false dump path null Jul 29, 2016 8:54:18 PM org.apache.hyracks.api.lifecycle.LifeCycleComponentManager stopAll SEVERE: Stopping component instanceorg.apache.hyracks.storage.common.buffercache.BufferCache dump state false dump path null org.apache.hyracks.api.exceptions.HyracksDataException: Closing unopened file at org.apache.hyracks.storage.common.buffercache.BufferCache.closeFile(BufferCache.java:971) at org.apache.hyracks.storage.am.bloomfilter.impls.BloomFilter.deactivate(BloomFilter.java:183) at org.apache.hyracks.storage.am.lsm.invertedindex.impls.LSMInvertedIndexDiskComponent.destroy(LSMInvertedIndexDiskComponent.java:49) at org.apache.hyracks.storage.am.lsm.common.impls.LSMHarness.exitComponents(LSMHarness.java:341) at org.apache.hyracks.storage.am.lsm.common.impls.LSMHarness.merge(LSMHarness.java:489) at org.apache.hyracks.storage.am.lsm.invertedindex.impls.LSMInvertedIndexAccessor.merge(LSMInvertedIndexAccessor.java:121) at org.apache.hyracks.storage.am.lsm.invertedindex.impls.LSMInvertedIndexMergeOperation.call(LSMInvertedIndexMergeOperation.java:84) at org.apache.hyracks.storage.am.lsm.invertedindex.impls.LSMInvertedIndexMergeOperation.call(LSMInvertedIndexMergeOperation.java:37) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) {noformat} > "Closing unopened file" during instance shutdown > > > Key: ASTERIXDB-1557 > URL: https://issues.apache.org/jira/browse/ASTERIXDB-1557 > Project: Apache AsterixDB > Issue Type: Bug > Components: Storage >Reporter: Yingyi Bu >Assignee: Michael Blow > > The following exception show up from time to time at the end of runtime > tests, though the tests can pass successfully. > {noformat} > SEVERE: Stopping component > instanceorg.apache.asterix.transaction.management.service.logging.LogManager > dump state false dump path null > Jul 29, 2016 8:54:18 PM > org.apache.hyracks.api.lifecycle.LifeCycleComponentManager stopAll > SEVERE: Stopping component > instanceorg.apache.hyracks.storage.common.buffercache.BufferCache dump state > false dump path null > org.apache.hyracks.api.exceptions.HyracksDataException: Closing unopened file > at > org.apache.hyracks.storage.common.buffercache.BufferCache.closeFile(BufferCache.java:971) > at >
[jira] [Created] (ASTERIXDB-1557) "Closing unopened file" during instance shutdown
Yingyi Bu created ASTERIXDB-1557: Summary: "Closing unopened file" during instance shutdown Key: ASTERIXDB-1557 URL: https://issues.apache.org/jira/browse/ASTERIXDB-1557 Project: Apache AsterixDB Issue Type: Bug Components: Storage Reporter: Yingyi Bu Assignee: Michael Blow The following exception show up from time to time at the end of runtime tests. {noformat} SEVERE: Stopping component instanceorg.apache.asterix.transaction.management.service.logging.LogManager dump state false dump path null Jul 29, 2016 8:54:18 PM org.apache.hyracks.api.lifecycle.LifeCycleComponentManager stopAll SEVERE: Stopping component instanceorg.apache.hyracks.storage.common.buffercache.BufferCache dump state false dump path null org.apache.hyracks.api.exceptions.HyracksDataException: Closing unopened file at org.apache.hyracks.storage.common.buffercache.BufferCache.closeFile(BufferCache.java:971) at org.apache.hyracks.storage.am.bloomfilter.impls.BloomFilter.deactivate(BloomFilter.java:183) at org.apache.hyracks.storage.am.lsm.invertedindex.impls.LSMInvertedIndexDiskComponent.destroy(LSMInvertedIndexDiskComponent.java:49) at org.apache.hyracks.storage.am.lsm.common.impls.LSMHarness.exitComponents(LSMHarness.java:341) at org.apache.hyracks.storage.am.lsm.common.impls.LSMHarness.merge(LSMHarness.java:489) at org.apache.hyracks.storage.am.lsm.invertedindex.impls.LSMInvertedIndexAccessor.merge(LSMInvertedIndexAccessor.java:121) at org.apache.hyracks.storage.am.lsm.invertedindex.impls.LSMInvertedIndexMergeOperation.call(LSMInvertedIndexMergeOperation.java:84) at org.apache.hyracks.storage.am.lsm.invertedindex.impls.LSMInvertedIndexMergeOperation.call(LSMInvertedIndexMergeOperation.java:37) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
Change in asterixdb[master]: Support UNION ALL.
Jenkins has posted comments on this change. Change subject: Support UNION ALL. .. Patch Set 2: Integration-Tests+1 Integration Tests Successful https://asterix-jenkins.ics.uci.edu/job/asterix-gerrit-integration-tests/208/ : SUCCESS -- To view, visit https://asterix-gerrit.ics.uci.edu/1035 To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings Gerrit-MessageType: comment Gerrit-Change-Id: Ifadf1707bb2b6bed22f8fc5792c635e87291a468 Gerrit-PatchSet: 2 Gerrit-Project: asterixdb Gerrit-Branch: master Gerrit-Owner: Yingyi BuGerrit-Reviewer: Jenkins Gerrit-HasComments: No
Change in asterixdb[master]: Index-only plan
Jenkins has posted comments on this change. Change subject: Index-only plan .. Patch Set 22: Integration Tests Started https://asterix-jenkins.ics.uci.edu/job/asterix-gerrit-integration-tests/209/ -- To view, visit https://asterix-gerrit.ics.uci.edu/744 To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings Gerrit-MessageType: comment Gerrit-Change-Id: Ifa02c13d4fddd880e1ee9e85eef6577301fb4560 Gerrit-PatchSet: 22 Gerrit-Project: asterixdb Gerrit-Branch: master Gerrit-Owner: Taewoo KimGerrit-Reviewer: Jenkins Gerrit-Reviewer: Taewoo Kim Gerrit-Reviewer: Till Westmann Gerrit-Reviewer: Yingyi Bu Gerrit-Reviewer: Young-Seok Kim Gerrit-HasComments: No
Change in asterixdb[master]: Support UNION ALL.
Jenkins has posted comments on this change. Change subject: Support UNION ALL. .. Patch Set 2: Integration Tests Started https://asterix-jenkins.ics.uci.edu/job/asterix-gerrit-integration-tests/208/ -- To view, visit https://asterix-gerrit.ics.uci.edu/1035 To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings Gerrit-MessageType: comment Gerrit-Change-Id: Ifadf1707bb2b6bed22f8fc5792c635e87291a468 Gerrit-PatchSet: 2 Gerrit-Project: asterixdb Gerrit-Branch: master Gerrit-Owner: Yingyi BuGerrit-Reviewer: Jenkins Gerrit-HasComments: No
Change in asterixdb[master]: Index-only plan
Jenkins has posted comments on this change. Change subject: Index-only plan .. Patch Set 22: WARNING: THIS CHANGE CONTAINS CROSS-PRODUCT CHANGES IN: * asterixdb * hyracks-fullstack PLEASE REVIEW CAREFULLY AND LOOK FOR API CHANGES! -- To view, visit https://asterix-gerrit.ics.uci.edu/744 To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings Gerrit-MessageType: comment Gerrit-Change-Id: Ifa02c13d4fddd880e1ee9e85eef6577301fb4560 Gerrit-PatchSet: 22 Gerrit-Project: asterixdb Gerrit-Branch: master Gerrit-Owner: Taewoo KimGerrit-Reviewer: Jenkins Gerrit-Reviewer: Taewoo Kim Gerrit-Reviewer: Till Westmann Gerrit-Reviewer: Yingyi Bu Gerrit-Reviewer: Young-Seok Kim Gerrit-HasComments: No
Change in asterixdb[master]: Support UNION ALL.
Jenkins has posted comments on this change. Change subject: Support UNION ALL. .. Patch Set 2: WARNING: THIS CHANGE CONTAINS CROSS-PRODUCT CHANGES IN: * asterixdb * hyracks-fullstack PLEASE REVIEW CAREFULLY AND LOOK FOR API CHANGES! -- To view, visit https://asterix-gerrit.ics.uci.edu/1035 To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings Gerrit-MessageType: comment Gerrit-Change-Id: Ifadf1707bb2b6bed22f8fc5792c635e87291a468 Gerrit-PatchSet: 2 Gerrit-Project: asterixdb Gerrit-Branch: master Gerrit-Owner: Yingyi BuGerrit-Reviewer: Jenkins Gerrit-HasComments: No
Change in asterixdb[master]: Support UNION ALL.
Hello Jenkins, I'd like you to reexamine a change. Please visit https://asterix-gerrit.ics.uci.edu/1035 to look at the new patch set (#2). Change subject: Support UNION ALL. .. Support UNION ALL. - support heterogenous input types for UNION ALL; - fix the partitioning property inference for UnionAllPOperator; - fix for ASTERIXDB-1354, a bug in IsomorphismVariableMappingVisitor. Change-Id: Ifadf1707bb2b6bed22f8fc5792c635e87291a468 --- M asterixdb/asterix-algebra/src/main/java/org/apache/asterix/optimizer/base/RuleCollections.java R asterixdb/asterix-algebra/src/main/java/org/apache/asterix/optimizer/rules/InjectTypeCastForSwitchCaseRule.java A asterixdb/asterix-algebra/src/main/java/org/apache/asterix/optimizer/rules/InjectTypeCastForUnionRule.java M asterixdb/asterix-algebra/src/main/java/org/apache/asterix/translator/AqlExpressionToPlanTranslator.java M asterixdb/asterix-algebra/src/main/java/org/apache/asterix/translator/LangExpressionToPlanTranslator.java M asterixdb/asterix-algebra/src/main/java/org/apache/asterix/translator/SqlppExpressionToPlanTranslator.java M asterixdb/asterix-app/src/main/java/org/apache/asterix/api/common/APIFramework.java A asterixdb/asterix-app/src/test/resources/runtimets/queries/union/query-ASTERIXDB-1354/query-ASTERIXDB-1354.1.ddl.aql A asterixdb/asterix-app/src/test/resources/runtimets/queries/union/query-ASTERIXDB-1354/query-ASTERIXDB-1354.2.update.aql A asterixdb/asterix-app/src/test/resources/runtimets/queries/union/query-ASTERIXDB-1354/query-ASTERIXDB-1354.3.query.aql A asterixdb/asterix-app/src/test/resources/runtimets/queries_sqlpp/union/query-ASTERIXDB-1354-2/query-ASTERIXDB-1354-2.1.ddl.sqlpp A asterixdb/asterix-app/src/test/resources/runtimets/queries_sqlpp/union/query-ASTERIXDB-1354-2/query-ASTERIXDB-1354-2.2.update.sqlpp A asterixdb/asterix-app/src/test/resources/runtimets/queries_sqlpp/union/query-ASTERIXDB-1354-2/query-ASTERIXDB-1354-2.3.query.sqlpp M asterixdb/asterix-app/src/test/resources/runtimets/queries_sqlpp/union/union/union.3.query.sqlpp A asterixdb/asterix-app/src/test/resources/runtimets/queries_sqlpp/union/union_heterogeneous_scalar/union_heterogeneous_scalar.1.ddl.sqlpp A asterixdb/asterix-app/src/test/resources/runtimets/queries_sqlpp/union/union_heterogeneous_scalar/union_heterogeneous_scalar.2.update.sqlpp A asterixdb/asterix-app/src/test/resources/runtimets/queries_sqlpp/union/union_heterogeneous_scalar/union_heterogeneous_scalar.3.query.sqlpp A asterixdb/asterix-app/src/test/resources/runtimets/queries_sqlpp/union/union_orderby/union_orderby.1.ddl.sqlpp A asterixdb/asterix-app/src/test/resources/runtimets/queries_sqlpp/union/union_orderby/union_orderby.2.update.sqlpp A asterixdb/asterix-app/src/test/resources/runtimets/queries_sqlpp/union/union_orderby/union_orderby.3.query.sqlpp A asterixdb/asterix-app/src/test/resources/runtimets/queries_sqlpp/union/union_orderby_2/union_orderby_2.1.ddl.sqlpp A asterixdb/asterix-app/src/test/resources/runtimets/queries_sqlpp/union/union_orderby_2/union_orderby_2.2.update.sqlpp A asterixdb/asterix-app/src/test/resources/runtimets/queries_sqlpp/union/union_orderby_2/union_orderby_2.3.query.sqlpp A asterixdb/asterix-app/src/test/resources/runtimets/queries_sqlpp/union/union_orderby_3/union_orderby_3.1.ddl.sqlpp A asterixdb/asterix-app/src/test/resources/runtimets/queries_sqlpp/union/union_orderby_3/union_orderby_3.2.update.sqlpp A asterixdb/asterix-app/src/test/resources/runtimets/queries_sqlpp/union/union_orderby_3/union_orderby_3.3.query.sqlpp A asterixdb/asterix-app/src/test/resources/runtimets/queries_sqlpp/union/union_orderby_4/union_orderby_4.1.ddl.sqlpp A asterixdb/asterix-app/src/test/resources/runtimets/queries_sqlpp/union/union_orderby_4/union_orderby_4.2.update.sqlpp A asterixdb/asterix-app/src/test/resources/runtimets/queries_sqlpp/union/union_orderby_4/union_orderby_4.3.query.sqlpp A asterixdb/asterix-app/src/test/resources/runtimets/results/union/query-ASTERIXDB-1354-2/query-ASTERIXDB-1354-2.1.adm A asterixdb/asterix-app/src/test/resources/runtimets/results/union/query-ASTERIXDB-1354/query-ASTERIXDB-1354.1.adm A asterixdb/asterix-app/src/test/resources/runtimets/results/union/union_heterogeneous_scalar/union_heterogeneous_scalar.1.adm A asterixdb/asterix-app/src/test/resources/runtimets/results/union/union_orderby/union_orderby.1.adm A asterixdb/asterix-app/src/test/resources/runtimets/results/union/union_orderby_2/union_orderby_2.1.adm A asterixdb/asterix-app/src/test/resources/runtimets/results/union/union_orderby_3/union_orderby_3.1.adm M asterixdb/asterix-app/src/test/resources/runtimets/testsuite.xml M asterixdb/asterix-app/src/test/resources/runtimets/testsuite_sqlpp.xml M asterixdb/asterix-lang-sqlpp/src/main/java/org/apache/asterix/lang/sqlpp/rewrites/SqlppFunctionBodyRewriter.java M
Change in asterixdb[master]: Support UNION ALL.
Jenkins has posted comments on this change. Change subject: Support UNION ALL. .. Patch Set 1: WARNING: THIS CHANGE CONTAINS CROSS-PRODUCT CHANGES IN: * asterixdb * hyracks-fullstack PLEASE REVIEW CAREFULLY AND LOOK FOR API CHANGES! -- To view, visit https://asterix-gerrit.ics.uci.edu/1035 To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings Gerrit-MessageType: comment Gerrit-Change-Id: Ifadf1707bb2b6bed22f8fc5792c635e87291a468 Gerrit-PatchSet: 1 Gerrit-Project: asterixdb Gerrit-Branch: master Gerrit-Owner: Yingyi BuGerrit-Reviewer: Jenkins Gerrit-HasComments: No
Change in asterixdb[master]: Support UNION ALL.
Jenkins has posted comments on this change. Change subject: Support UNION ALL. .. Patch Set 1: Build Started https://asterix-jenkins.ics.uci.edu/job/asterix-gerrit-notopic/2073/ -- To view, visit https://asterix-gerrit.ics.uci.edu/1035 To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings Gerrit-MessageType: comment Gerrit-Change-Id: Ifadf1707bb2b6bed22f8fc5792c635e87291a468 Gerrit-PatchSet: 1 Gerrit-Project: asterixdb Gerrit-Branch: master Gerrit-Owner: Yingyi BuGerrit-Reviewer: Jenkins Gerrit-HasComments: No
[jira] [Commented] (ASTERIXDB-1534) NPE when restart the server
[ https://issues.apache.org/jira/browse/ASTERIXDB-1534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15400319#comment-15400319 ] Jianfeng Jia commented on ASTERIXDB-1534: - I could not reproduce it on the same node anymore. very strange... > NPE when restart the server > --- > > Key: ASTERIXDB-1534 > URL: https://issues.apache.org/jira/browse/ASTERIXDB-1534 > Project: Apache AsterixDB > Issue Type: Bug > Components: Storage > Environment: master > commit a89fae64ac21fb8eefde79f79d2dbe1a0e54c364 > Date: Wed Jul 6 07:58:55 2016 -0700 >Reporter: Jianfeng Jia >Assignee: Michael Blow > Attachments: asterix-configuration.xml, ingest.sh > > > When I stop and start the cluster by managix, I hit the following error: > {code} > ERROR: > /rhome/jianfeng/managix/home/asterix/cloudberry/.nfs02180534118e > (No such file or directory) > j > {code} > And no nc and cc got started. > After a while, I ran the managix start again, the cluster restart > successfully. > But one of the dataset can't answer any queries. The simplest select query > {code} > for $t in dataset twitter.ds_tweet limit 5 return $t > {code} > will give me the following error: > {code} > Caused by: org.apache.hyracks.api.exceptions.HyracksDataException: > org.apache.hyracks.api.exceptions.HyracksDataException: > java.util.concurrent.ExecutionException: > org.apache.hyracks.api.exceptions.HyracksDataException: > java.lang.NullPointerException > at > org.apache.hyracks.control.common.utils.ExceptionUtils.setNodeIds(ExceptionUtils.java:45) > at org.apache.hyracks.control.nc.Task.run(Task.java:319) > ... 3 more > Caused by: org.apache.hyracks.api.exceptions.HyracksDataException: > java.util.concurrent.ExecutionException: > org.apache.hyracks.api.exceptions.HyracksDataException: > java.lang.NullPointerException > at > org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable.runInParallel(SuperActivityOperatorNodePushable.java:218) > at > org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable.initialize(SuperActivityOperatorNodePushable.java:83) > at org.apache.hyracks.control.nc.Task.run(Task.java:263) > ... 3 more > Caused by: java.util.concurrent.ExecutionException: > org.apache.hyracks.api.exceptions.HyracksDataException: > java.lang.NullPointerException > at java.util.concurrent.FutureTask.report(FutureTask.java:122) > at java.util.concurrent.FutureTask.get(FutureTask.java:192) > at > org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable.runInParallel(SuperActivityOperatorNodePushable.java:212) > ... 5 more > Caused by: org.apache.hyracks.api.exceptions.HyracksDataException: > java.lang.NullPointerException > at > org.apache.hyracks.storage.am.common.dataflow.IndexSearchOperatorNodePushable.nextFrame(IndexSearchOperatorNodePushable.java:187) > at > org.apache.hyracks.dataflow.common.comm.io.AbstractFrameAppender.write(AbstractFrameAppender.java:93) > at > org.apache.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.flushAndReset(AbstractOneInputOneOutputOneFramePushRuntime.java:63) > at > org.apache.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.flushIfNotFailed(AbstractOneInputOneOutputOneFramePushRuntime.java:69) > at > org.apache.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.close(AbstractOneInputOneOutputOneFramePushRuntime.java:55) > at > org.apache.hyracks.algebricks.runtime.operators.std.AssignRuntimeFactory$1.close(AssignRuntimeFactory.java:122) > at > org.apache.hyracks.algebricks.runtime.operators.std.EmptyTupleSourceRuntimeFactory$1.close(EmptyTupleSourceRuntimeFactory.java:60) > at > org.apache.hyracks.algebricks.runtime.operators.meta.AlgebricksMetaOperatorDescriptor$1.initialize(AlgebricksMetaOperatorDescriptor.java:116) > at > org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable.lambda$initialize$0(SuperActivityOperatorNodePushable.java:83) > at > org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable$$Lambda$1/350086994.runAction(Unknown > Source) > at > org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable$1.call(SuperActivityOperatorNodePushable.java:205) > at > org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable$1.call(SuperActivityOperatorNodePushable.java:202) > at java.util.concurrent.FutureTask.run(FutureTask.java:266) > ... 3 more > Caused by: java.lang.NullPointerException > at > org.apache.hyracks.storage.am.common.frames.TreeIndexNSMFrame.getTupleCount(TreeIndexNSMFrame.java:287) > at >
Change in asterixdb[master]: ASTERIXDB-1479: Change storage valid int and add explicit ve...
Jenkins has posted comments on this change. Change subject: ASTERIXDB-1479: Change storage valid int and add explicit version .. Patch Set 18: Integration-Tests+1 Integration Tests Successful https://asterix-jenkins.ics.uci.edu/job/asterix-gerrit-integration-tests/207/ : SUCCESS -- To view, visit https://asterix-gerrit.ics.uci.edu/919 To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings Gerrit-MessageType: comment Gerrit-Change-Id: I888ff0eacf5b3cb6ad7ec002c74f113c6ffcd496 Gerrit-PatchSet: 18 Gerrit-Project: asterixdb Gerrit-Branch: master Gerrit-Owner: Ian MaxonGerrit-Reviewer: Ian Maxon Gerrit-Reviewer: Jenkins Gerrit-Reviewer: Michael Blow Gerrit-Reviewer: Till Westmann Gerrit-Reviewer: abdullah alamoudi Gerrit-HasComments: No
[jira] [Commented] (ASTERIXDB-1546) Exceptions thrown after launching AsterixHyracksIntegrationUtil.java
[ https://issues.apache.org/jira/browse/ASTERIXDB-1546?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15400240#comment-15400240 ] Till commented on ASTERIXDB-1546: - The source of the site is available in the {{asf-site}} branch of the repository at {{https://git-wip-us.apache.org/repos/asf?p=asterixdb-site.git}}. There is also a GitHub mirror at {{https://github.com/apache/asterixdb-site}}. There are instructions how to edit and build the site at http://asterixdb.apache.org/site.html and you should be able to do everything but the final push to the live website. > Exceptions thrown after launching AsterixHyracksIntegrationUtil.java > > > Key: ASTERIXDB-1546 > URL: https://issues.apache.org/jira/browse/ASTERIXDB-1546 > Project: Apache AsterixDB > Issue Type: Bug > Environment: Eclipse IDE > Version: Neon Release (4.6.0) > Build id: 20160613-1800 >Reporter: Vignesh Raghunathan > > After launching an AsterixDB instance using > AsterixHyracksIntegrationUtil.java, the following exceptions are thrown after > a query like abs(-1) is executed. > 2016-07-25 16:03:00,412 WARN [qtp1833789138-36] util.log > (JCLLoggerAdapter.java:warn(437)) - Error for / > java.lang.ExceptionInInitializerError > at > org.apache.asterix.translator.LangExpressionToPlanTranslator.(LangExpressionToPlanTranslator.java:177) > at > org.apache.asterix.translator.AqlExpressionToPlanTranslator.(AqlExpressionToPlanTranslator.java:72) > at > org.apache.asterix.translator.AqlExpressionToPlanTranslatorFactory.createExpressionToPlanTranslator(AqlExpressionToPlanTranslatorFactory.java:31) > at > org.apache.asterix.api.common.APIFramework.compileQuery(APIFramework.java:208) > at > org.apache.asterix.aql.translator.QueryTranslator.rewriteCompileQuery(QueryTranslator.java:1938) > at > org.apache.asterix.aql.translator.QueryTranslator.handleQuery(QueryTranslator.java:2534) > at > org.apache.asterix.aql.translator.QueryTranslator.compileAndExecute(QueryTranslator.java:365) > at > org.apache.asterix.aql.translator.QueryTranslator.compileAndExecute(QueryTranslator.java:258) > at > org.apache.asterix.api.http.servlet.APIServlet.doPost(APIServlet.java:130) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) > at > org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:546) > at > org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:483) > at > org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:228) > at > org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:956) > at > org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:411) > at > org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:188) > at > org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:891) > at > org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117) > at > org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:114) > at org.eclipse.jetty.server.Server.handle(Server.java:353) > at > org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:598) > at > org.eclipse.jetty.server.HttpConnection$RequestHandler.content(HttpConnection.java:1076) > at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:805) > at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:218) > at > org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:427) > at > org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:510) > at > org.eclipse.jetty.io.nio.SelectChannelEndPoint.access$000(SelectChannelEndPoint.java:34) > at > org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:40) > at > org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:450) > at java.lang.Thread.run(Thread.java:745) > Caused by: java.lang.IllegalStateException: java.lang.ClassNotFoundException: > org.apache.asterix.generated.runtime.evaluators.functions.records.FieldAccessByIndexGen > at > org.apache.asterix.translator.util.FunctionCollection.getGeneratedFunctionDescriptorFactory(FunctionCollection.java:643) > at > org.apache.asterix.translator.util.FunctionCollection.(FunctionCollection.java:618) > ... 31 more > Caused by: java.lang.ClassNotFoundException: > org.apache.asterix.generated.runtime.evaluators.functions.records.FieldAccessByIndexGen > at java.net.URLClassLoader$1.run(URLClassLoader.java:372) > at
Change in asterixdb[master]: ASTERIXDB-1479: Change storage valid int and add explicit ve...
Jenkins has posted comments on this change. Change subject: ASTERIXDB-1479: Change storage valid int and add explicit version .. Patch Set 18: Integration Tests Started https://asterix-jenkins.ics.uci.edu/job/asterix-gerrit-integration-tests/207/ -- To view, visit https://asterix-gerrit.ics.uci.edu/919 To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings Gerrit-MessageType: comment Gerrit-Change-Id: I888ff0eacf5b3cb6ad7ec002c74f113c6ffcd496 Gerrit-PatchSet: 18 Gerrit-Project: asterixdb Gerrit-Branch: master Gerrit-Owner: Ian MaxonGerrit-Reviewer: Ian Maxon Gerrit-Reviewer: Jenkins Gerrit-Reviewer: Michael Blow Gerrit-Reviewer: Till Westmann Gerrit-Reviewer: abdullah alamoudi Gerrit-HasComments: No
Change in asterixdb[master]: ASTERIXDB-1479: Change storage valid int and add explicit ve...
Jenkins has posted comments on this change. Change subject: ASTERIXDB-1479: Change storage valid int and add explicit version .. Patch Set 18: WARNING: THIS CHANGE CONTAINS CROSS-PRODUCT CHANGES IN: * asterixdb * hyracks-fullstack PLEASE REVIEW CAREFULLY AND LOOK FOR API CHANGES! -- To view, visit https://asterix-gerrit.ics.uci.edu/919 To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings Gerrit-MessageType: comment Gerrit-Change-Id: I888ff0eacf5b3cb6ad7ec002c74f113c6ffcd496 Gerrit-PatchSet: 18 Gerrit-Project: asterixdb Gerrit-Branch: master Gerrit-Owner: Ian MaxonGerrit-Reviewer: Ian Maxon Gerrit-Reviewer: Jenkins Gerrit-Reviewer: Michael Blow Gerrit-Reviewer: Till Westmann Gerrit-Reviewer: abdullah alamoudi Gerrit-HasComments: No
Change in asterixdb[master]: ASTERIXDB-1479: Change storage valid int and add explicit ve...
Hello Michael Blow, Jenkins, I'd like you to reexamine a change. Please visit https://asterix-gerrit.ics.uci.edu/919 to look at the new patch set (#18). Change subject: ASTERIXDB-1479: Change storage valid int and add explicit version .. ASTERIXDB-1479: Change storage valid int and add explicit version This change will stop old versions from possibly corrupting data written by newer versions of Hyracks. It also adds an explicit version to the tree metadata that must match the version at runtime. Change-Id: I888ff0eacf5b3cb6ad7ec002c74f113c6ffcd496 --- M asterixdb/asterix-metadata/src/main/java/org/apache/asterix/metadata/bootstrap/MetadataBootstrap.java M asterixdb/asterix-transactions/src/main/java/org/apache/asterix/transaction/management/resource/PersistentLocalResourceFactory.java M asterixdb/asterix-transactions/src/main/java/org/apache/asterix/transaction/management/resource/PersistentLocalResourceRepository.java M hyracks-fullstack/hyracks/hyracks-storage-am-common/src/main/java/org/apache/hyracks/storage/am/common/api/ITreeIndexMetaDataFrame.java M hyracks-fullstack/hyracks/hyracks-storage-am-common/src/main/java/org/apache/hyracks/storage/am/common/dataflow/IndexDataflowHelper.java M hyracks-fullstack/hyracks/hyracks-storage-am-common/src/main/java/org/apache/hyracks/storage/am/common/frames/LIFOMetaDataFrame.java M hyracks-fullstack/hyracks/hyracks-storage-am-common/src/main/java/org/apache/hyracks/storage/am/common/freepage/LinkedMetaDataPageManager.java M hyracks-fullstack/hyracks/hyracks-storage-am-lsm-common/src/main/java/org/apache/hyracks/storage/am/lsm/common/impls/AbstractLSMIndexFileManager.java M hyracks-fullstack/hyracks/hyracks-storage-common/src/main/java/org/apache/hyracks/storage/common/file/ILocalResourceFactory.java M hyracks-fullstack/hyracks/hyracks-storage-common/src/main/java/org/apache/hyracks/storage/common/file/LocalResource.java M hyracks-fullstack/hyracks/hyracks-storage-common/src/main/java/org/apache/hyracks/storage/common/file/TransientLocalResourceFactory.java 11 files changed, 89 insertions(+), 31 deletions(-) git pull ssh://asterix-gerrit.ics.uci.edu:29418/asterixdb refs/changes/19/919/18 -- To view, visit https://asterix-gerrit.ics.uci.edu/919 To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings Gerrit-MessageType: newpatchset Gerrit-Change-Id: I888ff0eacf5b3cb6ad7ec002c74f113c6ffcd496 Gerrit-PatchSet: 18 Gerrit-Project: asterixdb Gerrit-Branch: master Gerrit-Owner: Ian MaxonGerrit-Reviewer: Ian Maxon Gerrit-Reviewer: Jenkins Gerrit-Reviewer: Michael Blow Gerrit-Reviewer: Till Westmann Gerrit-Reviewer: abdullah alamoudi
Change in asterixdb[master]: ASTERIXDB-1479: Change storage valid int and add explicit ve...
Jenkins has posted comments on this change. Change subject: ASTERIXDB-1479: Change storage valid int and add explicit version .. Patch Set 18: Build Started https://asterix-jenkins.ics.uci.edu/job/asterix-gerrit-notopic/2072/ -- To view, visit https://asterix-gerrit.ics.uci.edu/919 To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings Gerrit-MessageType: comment Gerrit-Change-Id: I888ff0eacf5b3cb6ad7ec002c74f113c6ffcd496 Gerrit-PatchSet: 18 Gerrit-Project: asterixdb Gerrit-Branch: master Gerrit-Owner: Ian MaxonGerrit-Reviewer: Ian Maxon Gerrit-Reviewer: Jenkins Gerrit-Reviewer: Michael Blow Gerrit-Reviewer: Till Westmann Gerrit-Reviewer: abdullah alamoudi Gerrit-HasComments: No
Change in asterixdb[master]: ASTERIXDB-1479: Change storage valid int and add explicit ve...
Jenkins has posted comments on this change. Change subject: ASTERIXDB-1479: Change storage valid int and add explicit version .. Patch Set 17: WARNING: THIS CHANGE CONTAINS CROSS-PRODUCT CHANGES IN: * asterixdb * hyracks-fullstack PLEASE REVIEW CAREFULLY AND LOOK FOR API CHANGES! -- To view, visit https://asterix-gerrit.ics.uci.edu/919 To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings Gerrit-MessageType: comment Gerrit-Change-Id: I888ff0eacf5b3cb6ad7ec002c74f113c6ffcd496 Gerrit-PatchSet: 17 Gerrit-Project: asterixdb Gerrit-Branch: master Gerrit-Owner: Ian MaxonGerrit-Reviewer: Ian Maxon Gerrit-Reviewer: Jenkins Gerrit-Reviewer: Michael Blow Gerrit-Reviewer: Till Westmann Gerrit-Reviewer: abdullah alamoudi Gerrit-HasComments: No
Change in asterixdb[master]: ASTERIXDB-1479: Change storage valid int and add explicit ve...
Hello Michael Blow, Jenkins, I'd like you to reexamine a change. Please visit https://asterix-gerrit.ics.uci.edu/919 to look at the new patch set (#17). Change subject: ASTERIXDB-1479: Change storage valid int and add explicit version .. ASTERIXDB-1479: Change storage valid int and add explicit version This change will stop old versions from possibly corrupting data written by newer versions of Hyracks. It also adds an explicit version to the tree metadata that must match the version at runtime. Change-Id: I888ff0eacf5b3cb6ad7ec002c74f113c6ffcd496 --- M asterixdb/asterix-metadata/src/main/java/org/apache/asterix/metadata/bootstrap/MetadataBootstrap.java M asterixdb/asterix-transactions/src/main/java/org/apache/asterix/transaction/management/resource/PersistentLocalResourceFactory.java M asterixdb/asterix-transactions/src/main/java/org/apache/asterix/transaction/management/resource/PersistentLocalResourceRepository.java M hyracks-fullstack/hyracks/hyracks-storage-am-common/src/main/java/org/apache/hyracks/storage/am/common/api/ITreeIndexMetaDataFrame.java M hyracks-fullstack/hyracks/hyracks-storage-am-common/src/main/java/org/apache/hyracks/storage/am/common/dataflow/IndexDataflowHelper.java M hyracks-fullstack/hyracks/hyracks-storage-am-common/src/main/java/org/apache/hyracks/storage/am/common/frames/LIFOMetaDataFrame.java M hyracks-fullstack/hyracks/hyracks-storage-am-common/src/main/java/org/apache/hyracks/storage/am/common/freepage/LinkedMetaDataPageManager.java M hyracks-fullstack/hyracks/hyracks-storage-am-lsm-common/src/main/java/org/apache/hyracks/storage/am/lsm/common/impls/AbstractLSMIndexFileManager.java M hyracks-fullstack/hyracks/hyracks-storage-common/src/main/java/org/apache/hyracks/storage/common/file/ILocalResourceFactory.java M hyracks-fullstack/hyracks/hyracks-storage-common/src/main/java/org/apache/hyracks/storage/common/file/LocalResource.java M hyracks-fullstack/hyracks/hyracks-storage-common/src/main/java/org/apache/hyracks/storage/common/file/TransientLocalResourceFactory.java 11 files changed, 84 insertions(+), 29 deletions(-) git pull ssh://asterix-gerrit.ics.uci.edu:29418/asterixdb refs/changes/19/919/17 -- To view, visit https://asterix-gerrit.ics.uci.edu/919 To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings Gerrit-MessageType: newpatchset Gerrit-Change-Id: I888ff0eacf5b3cb6ad7ec002c74f113c6ffcd496 Gerrit-PatchSet: 17 Gerrit-Project: asterixdb Gerrit-Branch: master Gerrit-Owner: Ian MaxonGerrit-Reviewer: Ian Maxon Gerrit-Reviewer: Jenkins Gerrit-Reviewer: Michael Blow Gerrit-Reviewer: Till Westmann Gerrit-Reviewer: abdullah alamoudi
Change in asterixdb[master]: ASTERIXDB-1479: Change storage valid int and add explicit ve...
Jenkins has posted comments on this change. Change subject: ASTERIXDB-1479: Change storage valid int and add explicit version .. Patch Set 17: Build Started https://asterix-jenkins.ics.uci.edu/job/asterix-gerrit-notopic/2071/ -- To view, visit https://asterix-gerrit.ics.uci.edu/919 To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings Gerrit-MessageType: comment Gerrit-Change-Id: I888ff0eacf5b3cb6ad7ec002c74f113c6ffcd496 Gerrit-PatchSet: 17 Gerrit-Project: asterixdb Gerrit-Branch: master Gerrit-Owner: Ian MaxonGerrit-Reviewer: Ian Maxon Gerrit-Reviewer: Jenkins Gerrit-Reviewer: Michael Blow Gerrit-Reviewer: Till Westmann Gerrit-Reviewer: abdullah alamoudi Gerrit-HasComments: No
[jira] [Commented] (ASTERIXDB-1556) Prefix-based multi-way Fuzzy-join generates an exception.
[ https://issues.apache.org/jira/browse/ASTERIXDB-1556?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15399984#comment-15399984 ] Michael J. Carey commented on ASTERIXDB-1556: - Agreed. A few big-picture-ish thoughts are: 1 - Having many operators is not necessarily a problem (as it seems Wenhai also pointed out). The real question will be, for these plans, how much simultaneously-in-use memory can there be in the worst case (where every operator is using its budget). We'll see what Taewoo's analysis shows. 2 - I agree that N=2 will be the normal case and that we should optimize that at first. However, since AQL allows users to write N-way joins for N>2, they have to work - as in, they need to return answers eventually (as opposed to blowing up). Users will quickly learn not to ask queries that take too long - but - we can't fall over with an NPE or OOM. Let's see what Taewoo's analysis turns up! > Prefix-based multi-way Fuzzy-join generates an exception. > - > > Key: ASTERIXDB-1556 > URL: https://issues.apache.org/jira/browse/ASTERIXDB-1556 > Project: Apache AsterixDB > Issue Type: Bug >Reporter: Taewoo Kim > Attachments: 2wayjoin.pdf, 2wayjoin.rtf, 2wayjoinplan.rtf, > 3wayjoin.pdf, 3wayjoin.rtf, 3wayjoinplan.rtf > > > When we enable prefix-based fuzzy-join and apply the multi-way fuzzy-join ( > > 2), the system generates an out-of-memory exception. > Since a fuzzy-join is created using 30-40 lines of AQL codes and this AQL is > translated into massive number of operators (more than 200 operators in the > plan for a 3-way fuzzy join), it could generate out-of-memory exception. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (ASTERIXDB-1556) Prefix-based multi-way Fuzzy-join generates an exception.
[ https://issues.apache.org/jira/browse/ASTERIXDB-1556?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15399908#comment-15399908 ] Chen Li commented on ASTERIXDB-1556: Per our discussion today, the next step is the following. Taewoo will look at the 3-way fuzzy-join plan, and manually calculate the total amount of budget memory. If the total amount is within the available memory but the plan runs out of memory, then there should a bug in the way we use memory. We either have memory leak, or are not respecting the budget within each operator when allocating memory. > Prefix-based multi-way Fuzzy-join generates an exception. > - > > Key: ASTERIXDB-1556 > URL: https://issues.apache.org/jira/browse/ASTERIXDB-1556 > Project: Apache AsterixDB > Issue Type: Bug >Reporter: Taewoo Kim > Attachments: 2wayjoin.pdf, 2wayjoin.rtf, 2wayjoinplan.rtf, > 3wayjoin.pdf, 3wayjoin.rtf, 3wayjoinplan.rtf > > > When we enable prefix-based fuzzy-join and apply the multi-way fuzzy-join ( > > 2), the system generates an out-of-memory exception. > Since a fuzzy-join is created using 30-40 lines of AQL codes and this AQL is > translated into massive number of operators (more than 200 operators in the > plan for a 3-way fuzzy join), it could generate out-of-memory exception. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
Change in incubator-asterixdb-site[asf-site]: fix download URLs
Till Westmann has submitted this change and it was merged. Change subject: fix download URLs .. fix download URLs Change-Id: I09a689b0aae5685ce4e7139af2c0344e00ee6f1d Reviewed-on: https://asterix-gerrit.ics.uci.edu/1034 Reviewed-by: Yingyi Bu--- M _config.yml M content/download.html M content/index.html 3 files changed, 5 insertions(+), 5 deletions(-) Approvals: Yingyi Bu: Looks good to me, approved diff --git a/_config.yml b/_config.yml index a24ff52..90afade 100644 --- a/_config.yml +++ b/_config.yml @@ -3,9 +3,9 @@ STABLE_VERSION: 0.8.8-incubating UNSTABLE_VERSION: 0.8.9-SNAPSHOT -STABLE_DOWNLOAD_URL: "http://www.apache.org/dyn/closer.lua/asterixdb/asterix-installer-0.8.8-incubating-binary-assembly.zip; +STABLE_DOWNLOAD_URL: "http://www.apache.org/dyn/closer.lua/asterixdb/asterixdb-0.8.8-incubating/asterix-installer-0.8.8-incubating-binary-assembly.zip; UNSTABLE_DOWNLOAD_URL: "https://asterix-jenkins.ics.uci.edu/job/asterix-integration-tests/lastSuccessfulBuild/org.apache.asterix$asterix-installer/artifact/org.apache.asterix/asterix-installer/0.8.9-SNAPSHOT/asterix-installer-0.8.9-SNAPSHOT-binary-assembly.zip; -STABLE_YARN_URL: "http://www.apache.org/dyn/closer.lua/asterixdb/asterix-yarn-0.8.8-incubating-binary-assembly.zip; +STABLE_YARN_URL: "http://www.apache.org/dyn/closer.lua/asterixdb/asterixdb-0.8.8-incubating/asterix-yarn-0.8.8-incubating-binary-assembly.zip; UNSTABLE_YARN_URL: "https://asterix-jenkins.ics.uci.edu/job/asterix-integration-tests/lastSuccessfulBuild/org.apache.asterix$asterix-yarn/artifact/org.apache.asterix/asterix-yarn/0.8.9-SNAPSHOT/asterix-yarn-0.8.9-SNAPSHOT-binary-assembly.zip; DOCS_BASE_URL: "docs" UNSTABLE_DOCS_BASE_URL: "https://ci.apache.org/projects/asterixdb/; diff --git a/content/download.html b/content/download.html index 8c9cbff..bf2505e 100644 --- a/content/download.html +++ b/content/download.html @@ -141,7 +141,7 @@ -http://www.apache.org/dyn/closer.lua/asterixdb/asterix-installer-0.8.8-incubating-binary-assembly.zip; role="button">Download AsterixDB 0.8.8-incubating +http://www.apache.org/dyn/closer.lua/asterixdb/asterixdb-0.8.8-incubating/asterix-installer-0.8.8-incubating-binary-assembly.zip; role="button">Download AsterixDB 0.8.8-incubating @@ -164,7 +164,7 @@ -http://www.apache.org/dyn/closer.lua/asterixdb/asterix-yarn-0.8.8-incubating-binary-assembly.zip; role="button">Download AsterixDB 0.8.8-incubating +http://www.apache.org/dyn/closer.lua/asterixdb/asterixdb-0.8.8-incubating/asterix-yarn-0.8.8-incubating-binary-assembly.zip; role="button">Download AsterixDB 0.8.8-incubating diff --git a/content/index.html b/content/index.html index 547457f..7e5e59c 100644 --- a/content/index.html +++ b/content/index.html @@ -186,7 +186,7 @@ Download -http://www.apache.org/dyn/closer.lua/asterixdb/asterix-installer-0.8.8-incubating-binary-assembly.zip; role="button">Download AsterixDB 0.8.8-incubating +http://www.apache.org/dyn/closer.lua/asterixdb/asterixdb-0.8.8-incubating/asterix-installer-0.8.8-incubating-binary-assembly.zip; role="button">Download AsterixDB 0.8.8-incubating https://github.com/apache/asterixdb/; role="button">GitHub Installation Guide -- To view, visit https://asterix-gerrit.ics.uci.edu/1034 To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings Gerrit-MessageType: merged Gerrit-Change-Id: I09a689b0aae5685ce4e7139af2c0344e00ee6f1d Gerrit-PatchSet: 2 Gerrit-Project: incubator-asterixdb-site Gerrit-Branch: asf-site Gerrit-Owner: Till Westmann Gerrit-Reviewer: Jenkins Gerrit-Reviewer: Till Westmann Gerrit-Reviewer: Yingyi Bu
Change in asterixdb[master]: Implement EXPLAIN for SQL++
Till Westmann has submitted this change and it was merged. Change subject: Implement EXPLAIN for SQL++ .. Implement EXPLAIN for SQL++ - move some code from static methods in ResultUtils to a stateful ResultPrinter to facilitate reuse (we create one ResultWriter per request) - tiny cleanup in LogicalOperatorPrettyPrintVisitor Change-Id: I7b7028fb243d494150cac525c73b2d77b0068646 Reviewed-on: https://asterix-gerrit.ics.uci.edu/1020 Tested-by: JenkinsIntegration-Tests: Jenkins Reviewed-by: Yingyi Bu --- M asterixdb/asterix-algebra/src/main/javacc/AQLPlus.jj M asterixdb/asterix-app/src/main/java/org/apache/asterix/api/common/APIFramework.java M asterixdb/asterix-app/src/main/java/org/apache/asterix/aql/translator/QueryTranslator.java A asterixdb/asterix-app/src/main/java/org/apache/asterix/result/ResultPrinter.java M asterixdb/asterix-app/src/main/java/org/apache/asterix/result/ResultUtils.java A asterixdb/asterix-app/src/test/resources/runtimets/queries_sqlpp/explain/explain_simple/explain_simple.1.query.sqlpp A asterixdb/asterix-app/src/test/resources/runtimets/results/explain/explain_simple/explain_simple.1.adm M asterixdb/asterix-app/src/test/resources/runtimets/testsuite_sqlpp.xml M asterixdb/asterix-lang-aql/src/main/java/org/apache/asterix/lang/aql/statement/SubscribeFeedStatement.java M asterixdb/asterix-lang-aql/src/main/java/org/apache/asterix/lang/aql/visitor/AqlDeleteRewriteVisitor.java M asterixdb/asterix-lang-aql/src/main/javacc/AQL.jj M asterixdb/asterix-lang-common/src/main/java/org/apache/asterix/lang/common/statement/Query.java M asterixdb/asterix-lang-common/src/main/java/org/apache/asterix/lang/common/visitor/AbstractInlineUdfsVisitor.java M asterixdb/asterix-lang-common/src/main/java/org/apache/asterix/lang/common/visitor/CloneAndSubstituteVariablesVisitor.java M asterixdb/asterix-lang-sqlpp/src/main/java/org/apache/asterix/lang/sqlpp/visitor/DeepCopyVisitor.java M asterixdb/asterix-lang-sqlpp/src/main/java/org/apache/asterix/lang/sqlpp/visitor/SqlppDeleteRewriteVisitor.java M asterixdb/asterix-lang-sqlpp/src/main/javacc/SQLPP.jj M hyracks-fullstack/algebricks/algebricks-core/src/main/java/org/apache/hyracks/algebricks/core/algebra/prettyprint/LogicalOperatorPrettyPrintVisitor.java 18 files changed, 292 insertions(+), 152 deletions(-) Approvals: Yingyi Bu: Looks good to me, approved Jenkins: Verified; Verified Objections: Jenkins: Violations found diff --git a/asterixdb/asterix-algebra/src/main/javacc/AQLPlus.jj b/asterixdb/asterix-algebra/src/main/javacc/AQLPlus.jj index 0e1e7a1..98cae63 100644 --- a/asterixdb/asterix-algebra/src/main/javacc/AQLPlus.jj +++ b/asterixdb/asterix-algebra/src/main/javacc/AQLPlus.jj @@ -487,7 +487,7 @@ Query Query()throws ParseException: { - Query query = new Query(); + Query query = new Query(false); Expression expr; } { diff --git a/asterixdb/asterix-app/src/main/java/org/apache/asterix/api/common/APIFramework.java b/asterixdb/asterix-app/src/main/java/org/apache/asterix/api/common/APIFramework.java index af17c05..d6864c1 100644 --- a/asterixdb/asterix-app/src/main/java/org/apache/asterix/api/common/APIFramework.java +++ b/asterixdb/asterix-app/src/main/java/org/apache/asterix/api/common/APIFramework.java @@ -18,6 +18,7 @@ */ package org.apache.asterix.api.common; +import java.io.IOException; import java.io.PrintWriter; import java.rmi.RemoteException; import java.util.ArrayList; @@ -48,6 +49,7 @@ import org.apache.asterix.metadata.declared.AqlMetadataProvider; import org.apache.asterix.om.util.AsterixAppContextInfo; import org.apache.asterix.optimizer.base.RuleCollections; +import org.apache.asterix.result.ResultUtils; import org.apache.asterix.runtime.job.listener.JobEventListenerFactory; import org.apache.asterix.transaction.management.service.transaction.JobIdFactory; import org.apache.asterix.translator.CompiledStatements.ICompiledDmlStatement; @@ -279,6 +281,16 @@ } } } +if (rwQ != null && rwQ.isExplain()) { +try { +LogicalOperatorPrettyPrintVisitor pvisitor = new LogicalOperatorPrettyPrintVisitor(); +PlanPrettyPrinter.printPlan(plan, pvisitor, 0); +ResultUtils.displayResults(pvisitor.get().toString(), conf, new ResultUtils.Stats(), null); +return null; +} catch (IOException e) { +throw new AlgebricksException(e); +} +} if (!conf.isGenerateJobSpec()) { return null; diff --git a/asterixdb/asterix-app/src/main/java/org/apache/asterix/aql/translator/QueryTranslator.java b/asterixdb/asterix-app/src/main/java/org/apache/asterix/aql/translator/QueryTranslator.java index 05d9b3d..d6065fb 100644 ---
Change in asterixdb[master]: Implement EXPLAIN for SQL++
Yingyi Bu has posted comments on this change. Change subject: Implement EXPLAIN for SQL++ .. Patch Set 8: Code-Review+2 -- To view, visit https://asterix-gerrit.ics.uci.edu/1020 To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings Gerrit-MessageType: comment Gerrit-Change-Id: I7b7028fb243d494150cac525c73b2d77b0068646 Gerrit-PatchSet: 8 Gerrit-Project: asterixdb Gerrit-Branch: master Gerrit-Owner: Till WestmannGerrit-Reviewer: Jenkins Gerrit-Reviewer: Till Westmann Gerrit-Reviewer: Yingyi Bu Gerrit-HasComments: No
Change in asterixdb[master]: Implement EXPLAIN for SQL++
Jenkins has posted comments on this change. Change subject: Implement EXPLAIN for SQL++ .. Patch Set 8: Integration-Tests+1 Integration Tests Successful https://asterix-jenkins.ics.uci.edu/job/asterix-gerrit-integration-tests/206/ : SUCCESS -- To view, visit https://asterix-gerrit.ics.uci.edu/1020 To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings Gerrit-MessageType: comment Gerrit-Change-Id: I7b7028fb243d494150cac525c73b2d77b0068646 Gerrit-PatchSet: 8 Gerrit-Project: asterixdb Gerrit-Branch: master Gerrit-Owner: Till WestmannGerrit-Reviewer: Jenkins Gerrit-Reviewer: Till Westmann Gerrit-Reviewer: Yingyi Bu Gerrit-HasComments: No
[jira] [Commented] (ASTERIXDB-1534) NPE when restart the server
[ https://issues.apache.org/jira/browse/ASTERIXDB-1534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15399759#comment-15399759 ] Jianfeng Jia commented on ASTERIXDB-1534: - if you guys can access the uci machine, you can send me your public key. I can open an account for you. > NPE when restart the server > --- > > Key: ASTERIXDB-1534 > URL: https://issues.apache.org/jira/browse/ASTERIXDB-1534 > Project: Apache AsterixDB > Issue Type: Bug > Components: Storage > Environment: master > commit a89fae64ac21fb8eefde79f79d2dbe1a0e54c364 > Date: Wed Jul 6 07:58:55 2016 -0700 >Reporter: Jianfeng Jia >Assignee: Michael Blow > Attachments: asterix-configuration.xml, ingest.sh > > > When I stop and start the cluster by managix, I hit the following error: > {code} > ERROR: > /rhome/jianfeng/managix/home/asterix/cloudberry/.nfs02180534118e > (No such file or directory) > j > {code} > And no nc and cc got started. > After a while, I ran the managix start again, the cluster restart > successfully. > But one of the dataset can't answer any queries. The simplest select query > {code} > for $t in dataset twitter.ds_tweet limit 5 return $t > {code} > will give me the following error: > {code} > Caused by: org.apache.hyracks.api.exceptions.HyracksDataException: > org.apache.hyracks.api.exceptions.HyracksDataException: > java.util.concurrent.ExecutionException: > org.apache.hyracks.api.exceptions.HyracksDataException: > java.lang.NullPointerException > at > org.apache.hyracks.control.common.utils.ExceptionUtils.setNodeIds(ExceptionUtils.java:45) > at org.apache.hyracks.control.nc.Task.run(Task.java:319) > ... 3 more > Caused by: org.apache.hyracks.api.exceptions.HyracksDataException: > java.util.concurrent.ExecutionException: > org.apache.hyracks.api.exceptions.HyracksDataException: > java.lang.NullPointerException > at > org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable.runInParallel(SuperActivityOperatorNodePushable.java:218) > at > org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable.initialize(SuperActivityOperatorNodePushable.java:83) > at org.apache.hyracks.control.nc.Task.run(Task.java:263) > ... 3 more > Caused by: java.util.concurrent.ExecutionException: > org.apache.hyracks.api.exceptions.HyracksDataException: > java.lang.NullPointerException > at java.util.concurrent.FutureTask.report(FutureTask.java:122) > at java.util.concurrent.FutureTask.get(FutureTask.java:192) > at > org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable.runInParallel(SuperActivityOperatorNodePushable.java:212) > ... 5 more > Caused by: org.apache.hyracks.api.exceptions.HyracksDataException: > java.lang.NullPointerException > at > org.apache.hyracks.storage.am.common.dataflow.IndexSearchOperatorNodePushable.nextFrame(IndexSearchOperatorNodePushable.java:187) > at > org.apache.hyracks.dataflow.common.comm.io.AbstractFrameAppender.write(AbstractFrameAppender.java:93) > at > org.apache.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.flushAndReset(AbstractOneInputOneOutputOneFramePushRuntime.java:63) > at > org.apache.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.flushIfNotFailed(AbstractOneInputOneOutputOneFramePushRuntime.java:69) > at > org.apache.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.close(AbstractOneInputOneOutputOneFramePushRuntime.java:55) > at > org.apache.hyracks.algebricks.runtime.operators.std.AssignRuntimeFactory$1.close(AssignRuntimeFactory.java:122) > at > org.apache.hyracks.algebricks.runtime.operators.std.EmptyTupleSourceRuntimeFactory$1.close(EmptyTupleSourceRuntimeFactory.java:60) > at > org.apache.hyracks.algebricks.runtime.operators.meta.AlgebricksMetaOperatorDescriptor$1.initialize(AlgebricksMetaOperatorDescriptor.java:116) > at > org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable.lambda$initialize$0(SuperActivityOperatorNodePushable.java:83) > at > org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable$$Lambda$1/350086994.runAction(Unknown > Source) > at > org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable$1.call(SuperActivityOperatorNodePushable.java:205) > at > org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable$1.call(SuperActivityOperatorNodePushable.java:202) > at java.util.concurrent.FutureTask.run(FutureTask.java:266) > ... 3 more > Caused by: java.lang.NullPointerException > at > org.apache.hyracks.storage.am.common.frames.TreeIndexNSMFrame.getTupleCount(TreeIndexNSMFrame.java:287) > at >
Change in asterixdb[master]: Implement EXPLAIN for SQL++
Jenkins has posted comments on this change. Change subject: Implement EXPLAIN for SQL++ .. Patch Set 8: Integration Tests Started https://asterix-jenkins.ics.uci.edu/job/asterix-gerrit-integration-tests/206/ -- To view, visit https://asterix-gerrit.ics.uci.edu/1020 To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings Gerrit-MessageType: comment Gerrit-Change-Id: I7b7028fb243d494150cac525c73b2d77b0068646 Gerrit-PatchSet: 8 Gerrit-Project: asterixdb Gerrit-Branch: master Gerrit-Owner: Till WestmannGerrit-Reviewer: Jenkins Gerrit-Reviewer: Till Westmann Gerrit-Reviewer: Yingyi Bu Gerrit-HasComments: No
[jira] [Commented] (ASTERIXDB-1534) NPE when restart the server
[ https://issues.apache.org/jira/browse/ASTERIXDB-1534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15399742#comment-15399742 ] Jianfeng Jia commented on ASTERIXDB-1534: - at [~mhubail] again. > NPE when restart the server > --- > > Key: ASTERIXDB-1534 > URL: https://issues.apache.org/jira/browse/ASTERIXDB-1534 > Project: Apache AsterixDB > Issue Type: Bug > Components: Storage > Environment: master > commit a89fae64ac21fb8eefde79f79d2dbe1a0e54c364 > Date: Wed Jul 6 07:58:55 2016 -0700 >Reporter: Jianfeng Jia >Assignee: Michael Blow > Attachments: asterix-configuration.xml, ingest.sh > > > When I stop and start the cluster by managix, I hit the following error: > {code} > ERROR: > /rhome/jianfeng/managix/home/asterix/cloudberry/.nfs02180534118e > (No such file or directory) > j > {code} > And no nc and cc got started. > After a while, I ran the managix start again, the cluster restart > successfully. > But one of the dataset can't answer any queries. The simplest select query > {code} > for $t in dataset twitter.ds_tweet limit 5 return $t > {code} > will give me the following error: > {code} > Caused by: org.apache.hyracks.api.exceptions.HyracksDataException: > org.apache.hyracks.api.exceptions.HyracksDataException: > java.util.concurrent.ExecutionException: > org.apache.hyracks.api.exceptions.HyracksDataException: > java.lang.NullPointerException > at > org.apache.hyracks.control.common.utils.ExceptionUtils.setNodeIds(ExceptionUtils.java:45) > at org.apache.hyracks.control.nc.Task.run(Task.java:319) > ... 3 more > Caused by: org.apache.hyracks.api.exceptions.HyracksDataException: > java.util.concurrent.ExecutionException: > org.apache.hyracks.api.exceptions.HyracksDataException: > java.lang.NullPointerException > at > org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable.runInParallel(SuperActivityOperatorNodePushable.java:218) > at > org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable.initialize(SuperActivityOperatorNodePushable.java:83) > at org.apache.hyracks.control.nc.Task.run(Task.java:263) > ... 3 more > Caused by: java.util.concurrent.ExecutionException: > org.apache.hyracks.api.exceptions.HyracksDataException: > java.lang.NullPointerException > at java.util.concurrent.FutureTask.report(FutureTask.java:122) > at java.util.concurrent.FutureTask.get(FutureTask.java:192) > at > org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable.runInParallel(SuperActivityOperatorNodePushable.java:212) > ... 5 more > Caused by: org.apache.hyracks.api.exceptions.HyracksDataException: > java.lang.NullPointerException > at > org.apache.hyracks.storage.am.common.dataflow.IndexSearchOperatorNodePushable.nextFrame(IndexSearchOperatorNodePushable.java:187) > at > org.apache.hyracks.dataflow.common.comm.io.AbstractFrameAppender.write(AbstractFrameAppender.java:93) > at > org.apache.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.flushAndReset(AbstractOneInputOneOutputOneFramePushRuntime.java:63) > at > org.apache.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.flushIfNotFailed(AbstractOneInputOneOutputOneFramePushRuntime.java:69) > at > org.apache.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.close(AbstractOneInputOneOutputOneFramePushRuntime.java:55) > at > org.apache.hyracks.algebricks.runtime.operators.std.AssignRuntimeFactory$1.close(AssignRuntimeFactory.java:122) > at > org.apache.hyracks.algebricks.runtime.operators.std.EmptyTupleSourceRuntimeFactory$1.close(EmptyTupleSourceRuntimeFactory.java:60) > at > org.apache.hyracks.algebricks.runtime.operators.meta.AlgebricksMetaOperatorDescriptor$1.initialize(AlgebricksMetaOperatorDescriptor.java:116) > at > org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable.lambda$initialize$0(SuperActivityOperatorNodePushable.java:83) > at > org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable$$Lambda$1/350086994.runAction(Unknown > Source) > at > org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable$1.call(SuperActivityOperatorNodePushable.java:205) > at > org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable$1.call(SuperActivityOperatorNodePushable.java:202) > at java.util.concurrent.FutureTask.run(FutureTask.java:266) > ... 3 more > Caused by: java.lang.NullPointerException > at > org.apache.hyracks.storage.am.common.frames.TreeIndexNSMFrame.getTupleCount(TreeIndexNSMFrame.java:287) > at >
Change in asterixdb[master]: small ADMParser/AdmLexer cleanup
abdullah alamoudi has posted comments on this change. Change subject: small ADMParser/AdmLexer cleanup .. Patch Set 2: Code-Review+2 -- To view, visit https://asterix-gerrit.ics.uci.edu/1032 To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings Gerrit-MessageType: comment Gerrit-Change-Id: Id032f0c83ebef108a9eddb7242c586d5481217e4 Gerrit-PatchSet: 2 Gerrit-Project: asterixdb Gerrit-Branch: master Gerrit-Owner: Till WestmannGerrit-Reviewer: Jenkins Gerrit-Reviewer: abdullah alamoudi Gerrit-HasComments: No
Change in asterixdb[master]: Index-only plan
Jenkins has posted comments on this change. Change subject: Index-only plan .. Patch Set 21: WARNING: THIS CHANGE CONTAINS CROSS-PRODUCT CHANGES IN: * asterixdb * hyracks-fullstack PLEASE REVIEW CAREFULLY AND LOOK FOR API CHANGES! -- To view, visit https://asterix-gerrit.ics.uci.edu/744 To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings Gerrit-MessageType: comment Gerrit-Change-Id: Ifa02c13d4fddd880e1ee9e85eef6577301fb4560 Gerrit-PatchSet: 21 Gerrit-Project: asterixdb Gerrit-Branch: master Gerrit-Owner: Taewoo KimGerrit-Reviewer: Jenkins Gerrit-Reviewer: Taewoo Kim Gerrit-Reviewer: Till Westmann Gerrit-Reviewer: Yingyi Bu Gerrit-Reviewer: Young-Seok Kim Gerrit-HasComments: No
[jira] [Updated] (ASTERIXDB-1556) Prefix-based multi-way Fuzzy-join generates an exception.
[ https://issues.apache.org/jira/browse/ASTERIXDB-1556?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wenhai updated ASTERIXDB-1556: -- Attachment: (was: 3wayjoinplan.rtf) > Prefix-based multi-way Fuzzy-join generates an exception. > - > > Key: ASTERIXDB-1556 > URL: https://issues.apache.org/jira/browse/ASTERIXDB-1556 > Project: Apache AsterixDB > Issue Type: Bug >Reporter: Taewoo Kim > > When we enable prefix-based fuzzy-join and apply the multi-way fuzzy-join ( > > 2), the system generates an out-of-memory exception. > Since a fuzzy-join is created using 30-40 lines of AQL codes and this AQL is > translated into massive number of operators (more than 200 operators in the > plan for a 3-way fuzzy join), it could generate out-of-memory exception. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (ASTERIXDB-1556) Prefix-based multi-way Fuzzy-join generates an exception.
[ https://issues.apache.org/jira/browse/ASTERIXDB-1556?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wenhai updated ASTERIXDB-1556: -- Attachment: (was: 3wayjoin.rtf) > Prefix-based multi-way Fuzzy-join generates an exception. > - > > Key: ASTERIXDB-1556 > URL: https://issues.apache.org/jira/browse/ASTERIXDB-1556 > Project: Apache AsterixDB > Issue Type: Bug >Reporter: Taewoo Kim > Attachments: 3wayjoinplan.rtf > > > When we enable prefix-based fuzzy-join and apply the multi-way fuzzy-join ( > > 2), the system generates an out-of-memory exception. > Since a fuzzy-join is created using 30-40 lines of AQL codes and this AQL is > translated into massive number of operators (more than 200 operators in the > plan for a 3-way fuzzy join), it could generate out-of-memory exception. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (ASTERIXDB-1556) Prefix-based multi-way Fuzzy-join generates an exception.
[ https://issues.apache.org/jira/browse/ASTERIXDB-1556?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wenhai updated ASTERIXDB-1556: -- Attachment: (was: 3wayjoin.pdf) > Prefix-based multi-way Fuzzy-join generates an exception. > - > > Key: ASTERIXDB-1556 > URL: https://issues.apache.org/jira/browse/ASTERIXDB-1556 > Project: Apache AsterixDB > Issue Type: Bug >Reporter: Taewoo Kim > Attachments: 3wayjoin.rtf, 3wayjoinplan.rtf > > > When we enable prefix-based fuzzy-join and apply the multi-way fuzzy-join ( > > 2), the system generates an out-of-memory exception. > Since a fuzzy-join is created using 30-40 lines of AQL codes and this AQL is > translated into massive number of operators (more than 200 operators in the > plan for a 3-way fuzzy join), it could generate out-of-memory exception. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (ASTERIXDB-1556) Prefix-based multi-way Fuzzy-join generates an exception.
[ https://issues.apache.org/jira/browse/ASTERIXDB-1556?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wenhai updated ASTERIXDB-1556: -- Attachment: (was: 2wayjoin.rtf) > Prefix-based multi-way Fuzzy-join generates an exception. > - > > Key: ASTERIXDB-1556 > URL: https://issues.apache.org/jira/browse/ASTERIXDB-1556 > Project: Apache AsterixDB > Issue Type: Bug >Reporter: Taewoo Kim > Attachments: 3wayjoin.pdf, 3wayjoin.rtf, 3wayjoinplan.rtf > > > When we enable prefix-based fuzzy-join and apply the multi-way fuzzy-join ( > > 2), the system generates an out-of-memory exception. > Since a fuzzy-join is created using 30-40 lines of AQL codes and this AQL is > translated into massive number of operators (more than 200 operators in the > plan for a 3-way fuzzy join), it could generate out-of-memory exception. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
Change in asterixdb[master]: Index-only plan
Jenkins has posted comments on this change. Change subject: Index-only plan .. Patch Set 21: Build Started https://asterix-jenkins.ics.uci.edu/job/asterix-gerrit-notopic/2070/ -- To view, visit https://asterix-gerrit.ics.uci.edu/744 To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings Gerrit-MessageType: comment Gerrit-Change-Id: Ifa02c13d4fddd880e1ee9e85eef6577301fb4560 Gerrit-PatchSet: 21 Gerrit-Project: asterixdb Gerrit-Branch: master Gerrit-Owner: Taewoo KimGerrit-Reviewer: Jenkins Gerrit-Reviewer: Taewoo Kim Gerrit-Reviewer: Till Westmann Gerrit-Reviewer: Yingyi Bu Gerrit-Reviewer: Young-Seok Kim Gerrit-HasComments: No
[jira] [Updated] (ASTERIXDB-1556) Prefix-based multi-way Fuzzy-join generates an exception.
[ https://issues.apache.org/jira/browse/ASTERIXDB-1556?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wenhai updated ASTERIXDB-1556: -- Attachment: (was: 2wayjoinplan.rtf) > Prefix-based multi-way Fuzzy-join generates an exception. > - > > Key: ASTERIXDB-1556 > URL: https://issues.apache.org/jira/browse/ASTERIXDB-1556 > Project: Apache AsterixDB > Issue Type: Bug >Reporter: Taewoo Kim > Attachments: 3wayjoin.pdf, 3wayjoin.rtf, 3wayjoinplan.rtf > > > When we enable prefix-based fuzzy-join and apply the multi-way fuzzy-join ( > > 2), the system generates an out-of-memory exception. > Since a fuzzy-join is created using 30-40 lines of AQL codes and this AQL is > translated into massive number of operators (more than 200 operators in the > plan for a 3-way fuzzy join), it could generate out-of-memory exception. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (ASTERIXDB-1556) Prefix-based multi-way Fuzzy-join generates an exception.
[ https://issues.apache.org/jira/browse/ASTERIXDB-1556?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wenhai updated ASTERIXDB-1556: -- Attachment: (was: 2wayjoin.pdf) > Prefix-based multi-way Fuzzy-join generates an exception. > - > > Key: ASTERIXDB-1556 > URL: https://issues.apache.org/jira/browse/ASTERIXDB-1556 > Project: Apache AsterixDB > Issue Type: Bug >Reporter: Taewoo Kim > Attachments: 2wayjoin.rtf, 2wayjoinplan.rtf, 3wayjoin.pdf, > 3wayjoin.rtf, 3wayjoinplan.rtf > > > When we enable prefix-based fuzzy-join and apply the multi-way fuzzy-join ( > > 2), the system generates an out-of-memory exception. > Since a fuzzy-join is created using 30-40 lines of AQL codes and this AQL is > translated into massive number of operators (more than 200 operators in the > plan for a 3-way fuzzy join), it could generate out-of-memory exception. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Comment Edited] (ASTERIXDB-1556) Prefix-based multi-way Fuzzy-join generates an exception.
[ https://issues.apache.org/jira/browse/ASTERIXDB-1556?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15399664#comment-15399664 ] Wenhai edited comment on ASTERIXDB-1556 at 7/29/16 5:18 PM: {noformat} drop dataverse fuzzyjointest if exists; create dataverse fuzzyjointest; use dataverse fuzzyjointest; create type DBLPType as open { tid: uuid, id: int64, dblpid: string?, title: string?, authors: string?, misc: string? } create dataset DBLP(DBLPType) primary key tid autogenerated; create dataset CSX(DBLPType) primary key tid autogenerated; create dataset ACM(DBLPType) primary key tid autogenerated; load dataset DBLP using localfs (("path"="127.0.0.1:///Users/michael/Research/asterixdb-src/asterixdb-fuzzy/asterixdb/asterixdb/asterix-app/data/dblp-small/dblp-small-multi-id.txt"),("format"="delimited-text"),("delimiter"=":"),("quote"="\u")); load dataset CSX using localfs (("path"="127.0.0.1:///Users/michael/Research/asterixdb-src/asterixdb-fuzzy/asterixdb/asterixdb/asterix-app/data/pub-small/csx-small-multi-id.txt"),("format"="delimited-text"),("delimiter"=":"),("quote"="\u")); load dataset ACM using localfs (("path"="127.0.0.1:///Users/michael/Research/asterixdb-src/asterixdb-fuzzy/asterixdb/asterixdb/asterix-app/data/pub-small/csx-small-multi-id.txt"),("format"="delimited-text"),("delimiter"=":"),("quote"="\u")); {noformat} //The 2wayjoin {noformat} for $r in dataset DBLP for $s in dataset CSX where word-tokens($r.title) ~= word-tokens($s.title) return {"rid": $r.tid, "sid": $s.tid} {noformat} //The 3wayjoin {noformat} use dataverse fuzzyjointest; for $r in dataset DBLP for $s in dataset CSX for $t in dataset ACM where word-tokens($r.title) ~= word-tokens($s.title) and word-tokens($r.authors) ~= word-tokens($t.authors) return {"rid": $r.tid, "sid": $s.tid, "tid": $t.tid} {noformat} was (Author: lwhay): {noformat} drop dataverse fuzzyjointest if exists; create dataverse fuzzyjointest; use dataverse fuzzyjointest; create type DBLPType as open { tid: uuid, id: int64, dblpid: string?, title: string?, authors: string?, misc: string? } create type CSXType as closed { tid: uuid, id: int64, csxid: string?, title: string?, authors: string?, misc: string? } create dataset DBLP(DBLPType) primary key tid autogenerated; create dataset CSX(CSXType) primary key tid autogenerated; load dataset DBLP using localfs (("path"="127.0.0.1:///Users/michael/Research/asterixdb-src/asterixdb-fuzzy/asterixdb/asterixdb/asterix-app/data/dblp-small/dblp-small-multi-id.txt"),("format"="delimited-text"),("delimiter"=":"),("quote"="\u")) pre-sorted; load dataset CSX using localfs (("path"="127.0.0.1:///Users/michael/Research/asterixdb-src/asterixdb-fuzzy/asterixdb/asterixdb/asterix-app/data/pub-small/csx-small-multi-id.txt"),("format"="delimited-text"),("delimiter"=":"),("quote"="\u")); {noformat} //The 2wayjoin {noformat} use dataverse fuzzyjointest; for $r in dataset DBLP for $s in dataset DBLP where word-tokens($r.title) ~= word-tokens($s.title) return {"rid": $r.tid, "sid": $s.tid} {noformat} //The 3wayjoin {noformat} use dataverse fuzzyjointest; for $r in dataset DBLP for $s in dataset DBLP for $t in dataset DBLP where word-tokens($r.title) ~= word-tokens($s.title) and word-tokens($r.authors) ~= word-tokens($t.authors) return {"rid": $r.tid, "sid": $s.tid, “tid": $t.tid} {noformat} > Prefix-based multi-way Fuzzy-join generates an exception. > - > > Key: ASTERIXDB-1556 > URL: https://issues.apache.org/jira/browse/ASTERIXDB-1556 > Project: Apache AsterixDB > Issue Type: Bug >Reporter: Taewoo Kim > Attachments: 2wayjoin.pdf, 2wayjoin.rtf, 2wayjoinplan.rtf, > 3wayjoin.pdf, 3wayjoin.rtf, 3wayjoinplan.rtf > > > When we enable prefix-based fuzzy-join and apply the multi-way fuzzy-join ( > > 2), the system generates an out-of-memory exception. > Since a fuzzy-join is created using 30-40 lines of AQL codes and this AQL is > translated into massive number of operators (more than 200 operators in the > plan for a 3-way fuzzy join), it could generate out-of-memory exception. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
Change in asterixdb[master]: ASTERIXDB-1459: Enable Debugging for Generated Functions
Michael Blow has submitted this change and it was merged. Change subject: ASTERIXDB-1459: Enable Debugging for Generated Functions .. ASTERIXDB-1459: Enable Debugging for Generated Functions Generate classes as nested classes of original class (including package) to enable debugging. Change-Id: I0e7816864b91b2ce0e474137b20c9fee2e35c25c Reviewed-on: https://asterix-gerrit.ics.uci.edu/1030 Sonar-Qube: JenkinsTested-by: Jenkins Integration-Tests: Jenkins Reviewed-by: abdullah alamoudi --- M asterixdb/asterix-runtime/src/main/java/org/apache/asterix/runtime/evaluators/staticcodegen/CodeGenUtil.java 1 file changed, 12 insertions(+), 20 deletions(-) Approvals: abdullah alamoudi: Looks good to me, approved Jenkins: Verified; No violations found; Verified diff --git a/asterixdb/asterix-runtime/src/main/java/org/apache/asterix/runtime/evaluators/staticcodegen/CodeGenUtil.java b/asterixdb/asterix-runtime/src/main/java/org/apache/asterix/runtime/evaluators/staticcodegen/CodeGenUtil.java index 1da88a1..87a9a84 100644 --- a/asterixdb/asterix-runtime/src/main/java/org/apache/asterix/runtime/evaluators/staticcodegen/CodeGenUtil.java +++ b/asterixdb/asterix-runtime/src/main/java/org/apache/asterix/runtime/evaluators/staticcodegen/CodeGenUtil.java @@ -43,11 +43,8 @@ private final static String EVALUATOR_FACTORY = "EvaluatorFactory"; private final static String EVALUATOR = "Evaluator"; private final static String INNER = "Inner"; -private final static String DESCRIPTOR = "Descriptor"; -private final static String ACCESSOR = "Accessor"; private final static String DOLLAR = "$"; -private final static String PKG_SUFFIX = "/generated"; -private final static String ASTERIXDB_PREFIX = "org/apache/asterix"; +private final static String NESTED_CLASSNAME_PREFIX = "_"; /** * The callback interface for a caller to determine what it needs to do for @@ -165,7 +162,9 @@ int index = nameMappings.size() - 1; for (; index >= 0; --index) { Pair entry = nameMappings.get(index); -result = result.replace(entry.getLeft(), entry.getRight()); +if (result.contains(entry.getLeft())) { +return result.replace(entry.getLeft(), entry.getRight()); +} } return result; } @@ -179,7 +178,7 @@ *the original evaluator factory class name. * @param suffixForGeneratedClass, *the suffix for the generated class. - * @param factoryIndex, + * @param factoryCounter, *the counter for the generated class. * @param nameMappings, *class names that needs to be rewritten in the generated byte code. @@ -235,7 +234,7 @@ *the name of the original evaluator class. * @param suffixForGeneratedClass, *the suffix for the generated class. - * @param evalIndex, + * @param evalCounter, *the counter for the generated class. * @param nameMappings, *class names that needs to be rewritten in the generated byte code. @@ -368,30 +367,23 @@ *the original class, i.e., the source of the generated class. * @param suffix, *the suffix for the generated class. - * @param evalCounter, + * @param counter, *a counter that appearing at the end of the name of the generated class. * @return the name of the generated class. */ private static String getGeneratedClassName(String originalClassName, String suffix, int counter) { StringBuilder sb = new StringBuilder(); -int end = originalClassName.indexOf(DESCRIPTOR); -if (end < 0) { -end = originalClassName.indexOf(ACCESSOR); -} -if (end < 0) { -end = originalClassName.indexOf(DOLLAR); -} +int end = originalClassName.indexOf(DOLLAR); if (end < 0) { end = originalClassName.length(); } String name = originalClassName.substring(0, end); -String lastName = name.substring(ASTERIXDB_PREFIX.length()); - -sb.append(ASTERIXDB_PREFIX); -sb.append(PKG_SUFFIX); -sb.append(lastName); +sb.append(name); +sb.append(DOLLAR); +sb.append(NESTED_CLASSNAME_PREFIX); sb.append(suffix); + if (counter > 0) { sb.append(counter); } -- To view, visit https://asterix-gerrit.ics.uci.edu/1030 To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings Gerrit-MessageType: merged Gerrit-Change-Id: I0e7816864b91b2ce0e474137b20c9fee2e35c25c Gerrit-PatchSet: 3 Gerrit-Project: asterixdb Gerrit-Branch: master
Change in asterixdb[master]: ASTERIXDB-1459: Enable Debugging for Generated Functions
abdullah alamoudi has posted comments on this change. Change subject: ASTERIXDB-1459: Enable Debugging for Generated Functions .. Patch Set 2: Code-Review+2 -- To view, visit https://asterix-gerrit.ics.uci.edu/1030 To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings Gerrit-MessageType: comment Gerrit-Change-Id: I0e7816864b91b2ce0e474137b20c9fee2e35c25c Gerrit-PatchSet: 2 Gerrit-Project: asterixdb Gerrit-Branch: master Gerrit-Owner: Michael BlowGerrit-Reviewer: Jenkins Gerrit-Reviewer: Taewoo Kim Gerrit-Reviewer: Yingyi Bu Gerrit-Reviewer: abdullah alamoudi Gerrit-HasComments: No
Change in asterixdb[master]: Implement EXPLAIN for SQL++
Jenkins has posted comments on this change. Change subject: Implement EXPLAIN for SQL++ .. Patch Set 8: WARNING: THIS CHANGE CONTAINS CROSS-PRODUCT CHANGES IN: * asterixdb * hyracks-fullstack PLEASE REVIEW CAREFULLY AND LOOK FOR API CHANGES! -- To view, visit https://asterix-gerrit.ics.uci.edu/1020 To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings Gerrit-MessageType: comment Gerrit-Change-Id: I7b7028fb243d494150cac525c73b2d77b0068646 Gerrit-PatchSet: 8 Gerrit-Project: asterixdb Gerrit-Branch: master Gerrit-Owner: Till WestmannGerrit-Reviewer: Jenkins Gerrit-Reviewer: Till Westmann Gerrit-Reviewer: Yingyi Bu Gerrit-HasComments: No
Change in asterixdb[master]: Implement EXPLAIN for SQL++
Jenkins has posted comments on this change. Change subject: Implement EXPLAIN for SQL++ .. Patch Set 8: Build Started https://asterix-jenkins.ics.uci.edu/job/asterix-gerrit-notopic/2069/ -- To view, visit https://asterix-gerrit.ics.uci.edu/1020 To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings Gerrit-MessageType: comment Gerrit-Change-Id: I7b7028fb243d494150cac525c73b2d77b0068646 Gerrit-PatchSet: 8 Gerrit-Project: asterixdb Gerrit-Branch: master Gerrit-Owner: Till WestmannGerrit-Reviewer: Jenkins Gerrit-Reviewer: Till Westmann Gerrit-Reviewer: Yingyi Bu Gerrit-HasComments: No
[jira] [Commented] (ASTERIXDB-1556) Prefix-based multi-way Fuzzy-join generates an exception.
[ https://issues.apache.org/jira/browse/ASTERIXDB-1556?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15399664#comment-15399664 ] Wenhai commented on ASTERIXDB-1556: --- {noformat} drop dataverse fuzzyjointest if exists; create dataverse fuzzyjointest; use dataverse fuzzyjointest; create type DBLPType as open { tid: uuid, id: int64, dblpid: string?, title: string?, authors: string?, misc: string? } create type CSXType as closed { tid: uuid, id: int64, csxid: string?, title: string?, authors: string?, misc: string? } create dataset DBLP(DBLPType) primary key tid autogenerated; create dataset CSX(CSXType) primary key tid autogenerated; load dataset DBLP using localfs (("path"="127.0.0.1:///Users/michael/Research/asterixdb-src/asterixdb-fuzzy/asterixdb/asterixdb/asterix-app/data/dblp-small/dblp-small-multi-id.txt"),("format"="delimited-text"),("delimiter"=":"),("quote"="\u")) pre-sorted; load dataset CSX using localfs (("path"="127.0.0.1:///Users/michael/Research/asterixdb-src/asterixdb-fuzzy/asterixdb/asterixdb/asterix-app/data/pub-small/csx-small-multi-id.txt"),("format"="delimited-text"),("delimiter"=":"),("quote"="\u")); {noformat} //The 2wayjoin {noformat} use dataverse fuzzyjointest; for $r in dataset DBLP for $s in dataset DBLP where word-tokens($r.title) ~= word-tokens($s.title) return {"rid": $r.tid, "sid": $s.tid} {noformat} //The 3wayjoin {noformat} use dataverse fuzzyjointest; for $r in dataset DBLP for $s in dataset DBLP for $t in dataset DBLP where word-tokens($r.title) ~= word-tokens($s.title) and word-tokens($r.authors) ~= word-tokens($t.authors) return {"rid": $r.tid, "sid": $s.tid, “tid": $t.tid} {noformat} > Prefix-based multi-way Fuzzy-join generates an exception. > - > > Key: ASTERIXDB-1556 > URL: https://issues.apache.org/jira/browse/ASTERIXDB-1556 > Project: Apache AsterixDB > Issue Type: Bug >Reporter: Taewoo Kim > Attachments: 2wayjoin.pdf, 2wayjoin.rtf, 2wayjoinplan.rtf, > 3wayjoin.pdf, 3wayjoin.rtf, 3wayjoinplan.rtf > > > When we enable prefix-based fuzzy-join and apply the multi-way fuzzy-join ( > > 2), the system generates an out-of-memory exception. > Since a fuzzy-join is created using 30-40 lines of AQL codes and this AQL is > translated into massive number of operators (more than 200 operators in the > plan for a 3-way fuzzy join), it could generate out-of-memory exception. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
Change in asterixdb[master]: Implement EXPLAIN for SQL++
Hello Yingyi Bu, Jenkins, I'd like you to reexamine a change. Please visit https://asterix-gerrit.ics.uci.edu/1020 to look at the new patch set (#8). Change subject: Implement EXPLAIN for SQL++ .. Implement EXPLAIN for SQL++ - move some code from static methods in ResultUtils to a stateful ResultPrinter to facilitate reuse (we create one ResultWriter per request) - tiny cleanup in LogicalOperatorPrettyPrintVisitor Change-Id: I7b7028fb243d494150cac525c73b2d77b0068646 --- M asterixdb/asterix-algebra/src/main/javacc/AQLPlus.jj M asterixdb/asterix-app/src/main/java/org/apache/asterix/api/common/APIFramework.java M asterixdb/asterix-app/src/main/java/org/apache/asterix/aql/translator/QueryTranslator.java A asterixdb/asterix-app/src/main/java/org/apache/asterix/result/ResultPrinter.java M asterixdb/asterix-app/src/main/java/org/apache/asterix/result/ResultUtils.java A asterixdb/asterix-app/src/test/resources/runtimets/queries_sqlpp/explain/explain_simple/explain_simple.1.query.sqlpp A asterixdb/asterix-app/src/test/resources/runtimets/results/explain/explain_simple/explain_simple.1.adm M asterixdb/asterix-app/src/test/resources/runtimets/testsuite_sqlpp.xml M asterixdb/asterix-lang-aql/src/main/java/org/apache/asterix/lang/aql/statement/SubscribeFeedStatement.java M asterixdb/asterix-lang-aql/src/main/java/org/apache/asterix/lang/aql/visitor/AqlDeleteRewriteVisitor.java M asterixdb/asterix-lang-aql/src/main/javacc/AQL.jj M asterixdb/asterix-lang-common/src/main/java/org/apache/asterix/lang/common/statement/Query.java M asterixdb/asterix-lang-common/src/main/java/org/apache/asterix/lang/common/visitor/AbstractInlineUdfsVisitor.java M asterixdb/asterix-lang-common/src/main/java/org/apache/asterix/lang/common/visitor/CloneAndSubstituteVariablesVisitor.java M asterixdb/asterix-lang-sqlpp/src/main/java/org/apache/asterix/lang/sqlpp/visitor/DeepCopyVisitor.java M asterixdb/asterix-lang-sqlpp/src/main/java/org/apache/asterix/lang/sqlpp/visitor/SqlppDeleteRewriteVisitor.java M asterixdb/asterix-lang-sqlpp/src/main/javacc/SQLPP.jj M hyracks-fullstack/algebricks/algebricks-core/src/main/java/org/apache/hyracks/algebricks/core/algebra/prettyprint/LogicalOperatorPrettyPrintVisitor.java 18 files changed, 292 insertions(+), 152 deletions(-) git pull ssh://asterix-gerrit.ics.uci.edu:29418/asterixdb refs/changes/20/1020/8 -- To view, visit https://asterix-gerrit.ics.uci.edu/1020 To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings Gerrit-MessageType: newpatchset Gerrit-Change-Id: I7b7028fb243d494150cac525c73b2d77b0068646 Gerrit-PatchSet: 8 Gerrit-Project: asterixdb Gerrit-Branch: master Gerrit-Owner: Till WestmannGerrit-Reviewer: Jenkins Gerrit-Reviewer: Till Westmann Gerrit-Reviewer: Yingyi Bu
Change in asterixdb[master]: ASTERIXDB-1459: Enable Debugging for Generated Functions
Taewoo Kim has posted comments on this change. Change subject: ASTERIXDB-1459: Enable Debugging for Generated Functions .. Patch Set 2: Tried and it works fine on Eclipse. I tried setting a breakpoint in FieldAccessByIndexEvalFactory and it worked. -- To view, visit https://asterix-gerrit.ics.uci.edu/1030 To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings Gerrit-MessageType: comment Gerrit-Change-Id: I0e7816864b91b2ce0e474137b20c9fee2e35c25c Gerrit-PatchSet: 2 Gerrit-Project: asterixdb Gerrit-Branch: master Gerrit-Owner: Michael BlowGerrit-Reviewer: Jenkins Gerrit-Reviewer: Taewoo Kim Gerrit-Reviewer: Yingyi Bu Gerrit-HasComments: No
Change in asterixdb[master]: small ADMParser/AdmLexer cleanup
Jenkins has posted comments on this change. Change subject: small ADMParser/AdmLexer cleanup .. Patch Set 2: Build Started https://asterix-jenkins.ics.uci.edu/job/asterix-gerrit-notopic/2068/ -- To view, visit https://asterix-gerrit.ics.uci.edu/1032 To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings Gerrit-MessageType: comment Gerrit-Change-Id: Id032f0c83ebef108a9eddb7242c586d5481217e4 Gerrit-PatchSet: 2 Gerrit-Project: asterixdb Gerrit-Branch: master Gerrit-Owner: Till WestmannGerrit-Reviewer: Jenkins Gerrit-HasComments: No
Change in incubator-asterixdb-site[asf-site]: fix download URLs
Yingyi Bu has posted comments on this change. Change subject: fix download URLs .. Patch Set 1: Code-Review+2 -- To view, visit https://asterix-gerrit.ics.uci.edu/1034 To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings Gerrit-MessageType: comment Gerrit-Change-Id: I09a689b0aae5685ce4e7139af2c0344e00ee6f1d Gerrit-PatchSet: 1 Gerrit-Project: incubator-asterixdb-site Gerrit-Branch: asf-site Gerrit-Owner: Till WestmannGerrit-Reviewer: Jenkins Gerrit-Reviewer: Yingyi Bu Gerrit-HasComments: No
[jira] [Updated] (ASTERIXDB-1556) Prefix-based multi-way Fuzzy-join generates an exception.
[ https://issues.apache.org/jira/browse/ASTERIXDB-1556?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wenhai updated ASTERIXDB-1556: -- Attachment: 3wayjoin.pdf 3wayjoinplan.rtf 2wayjoin.pdf 3wayjoin.rtf 2wayjoinplan.rtf 2wayjoin.rtf The asterix/hyracks plans as well as their workflows, with the operator/connect (ids) marked on the PDF. > Prefix-based multi-way Fuzzy-join generates an exception. > - > > Key: ASTERIXDB-1556 > URL: https://issues.apache.org/jira/browse/ASTERIXDB-1556 > Project: Apache AsterixDB > Issue Type: Bug >Reporter: Taewoo Kim > Attachments: 2wayjoin.pdf, 2wayjoin.rtf, 2wayjoinplan.rtf, > 3wayjoin.pdf, 3wayjoin.rtf, 3wayjoinplan.rtf > > > When we enable prefix-based fuzzy-join and apply the multi-way fuzzy-join ( > > 2), the system generates an out-of-memory exception. > Since a fuzzy-join is created using 30-40 lines of AQL codes and this AQL is > translated into massive number of operators (more than 200 operators in the > plan for a 3-way fuzzy join), it could generate out-of-memory exception. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
Change in incubator-asterixdb-site[asf-site]: fix download URLs
Till Westmann has uploaded a new change for review. https://asterix-gerrit.ics.uci.edu/1034 Change subject: fix download URLs .. fix download URLs Change-Id: I09a689b0aae5685ce4e7139af2c0344e00ee6f1d --- M _config.yml M content/download.html M content/index.html 3 files changed, 5 insertions(+), 5 deletions(-) git pull ssh://asterix-gerrit.ics.uci.edu:29418/incubator-asterixdb-site refs/changes/34/1034/1 diff --git a/_config.yml b/_config.yml index a24ff52..90afade 100644 --- a/_config.yml +++ b/_config.yml @@ -3,9 +3,9 @@ STABLE_VERSION: 0.8.8-incubating UNSTABLE_VERSION: 0.8.9-SNAPSHOT -STABLE_DOWNLOAD_URL: "http://www.apache.org/dyn/closer.lua/asterixdb/asterix-installer-0.8.8-incubating-binary-assembly.zip; +STABLE_DOWNLOAD_URL: "http://www.apache.org/dyn/closer.lua/asterixdb/asterixdb-0.8.8-incubating/asterix-installer-0.8.8-incubating-binary-assembly.zip; UNSTABLE_DOWNLOAD_URL: "https://asterix-jenkins.ics.uci.edu/job/asterix-integration-tests/lastSuccessfulBuild/org.apache.asterix$asterix-installer/artifact/org.apache.asterix/asterix-installer/0.8.9-SNAPSHOT/asterix-installer-0.8.9-SNAPSHOT-binary-assembly.zip; -STABLE_YARN_URL: "http://www.apache.org/dyn/closer.lua/asterixdb/asterix-yarn-0.8.8-incubating-binary-assembly.zip; +STABLE_YARN_URL: "http://www.apache.org/dyn/closer.lua/asterixdb/asterixdb-0.8.8-incubating/asterix-yarn-0.8.8-incubating-binary-assembly.zip; UNSTABLE_YARN_URL: "https://asterix-jenkins.ics.uci.edu/job/asterix-integration-tests/lastSuccessfulBuild/org.apache.asterix$asterix-yarn/artifact/org.apache.asterix/asterix-yarn/0.8.9-SNAPSHOT/asterix-yarn-0.8.9-SNAPSHOT-binary-assembly.zip; DOCS_BASE_URL: "docs" UNSTABLE_DOCS_BASE_URL: "https://ci.apache.org/projects/asterixdb/; diff --git a/content/download.html b/content/download.html index 8c9cbff..bf2505e 100644 --- a/content/download.html +++ b/content/download.html @@ -141,7 +141,7 @@ -http://www.apache.org/dyn/closer.lua/asterixdb/asterix-installer-0.8.8-incubating-binary-assembly.zip; role="button">Download AsterixDB 0.8.8-incubating +http://www.apache.org/dyn/closer.lua/asterixdb/asterixdb-0.8.8-incubating/asterix-installer-0.8.8-incubating-binary-assembly.zip; role="button">Download AsterixDB 0.8.8-incubating @@ -164,7 +164,7 @@ -http://www.apache.org/dyn/closer.lua/asterixdb/asterix-yarn-0.8.8-incubating-binary-assembly.zip; role="button">Download AsterixDB 0.8.8-incubating +http://www.apache.org/dyn/closer.lua/asterixdb/asterixdb-0.8.8-incubating/asterix-yarn-0.8.8-incubating-binary-assembly.zip; role="button">Download AsterixDB 0.8.8-incubating diff --git a/content/index.html b/content/index.html index 547457f..7e5e59c 100644 --- a/content/index.html +++ b/content/index.html @@ -186,7 +186,7 @@ Download -http://www.apache.org/dyn/closer.lua/asterixdb/asterix-installer-0.8.8-incubating-binary-assembly.zip; role="button">Download AsterixDB 0.8.8-incubating +http://www.apache.org/dyn/closer.lua/asterixdb/asterixdb-0.8.8-incubating/asterix-installer-0.8.8-incubating-binary-assembly.zip; role="button">Download AsterixDB 0.8.8-incubating https://github.com/apache/asterixdb/; role="button">GitHub Installation Guide -- To view, visit https://asterix-gerrit.ics.uci.edu/1034 To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I09a689b0aae5685ce4e7139af2c0344e00ee6f1d Gerrit-PatchSet: 1 Gerrit-Project: incubator-asterixdb-site Gerrit-Branch: asf-site Gerrit-Owner: Till Westmann
[jira] [Commented] (ASTERIXDB-1556) Prefix-based multi-way Fuzzy-join generates an exception.
[ https://issues.apache.org/jira/browse/ASTERIXDB-1556?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15399635#comment-15399635 ] Wenhai commented on ASTERIXDB-1556: --- Attached the asterix plan, hyracks plan as well as the workflow. Notice that the number in the pdf comes from the operators (node number) and the connectors (line number). > Prefix-based multi-way Fuzzy-join generates an exception. > - > > Key: ASTERIXDB-1556 > URL: https://issues.apache.org/jira/browse/ASTERIXDB-1556 > Project: Apache AsterixDB > Issue Type: Bug >Reporter: Taewoo Kim > > When we enable prefix-based fuzzy-join and apply the multi-way fuzzy-join ( > > 2), the system generates an out-of-memory exception. > Since a fuzzy-join is created using 30-40 lines of AQL codes and this AQL is > translated into massive number of operators (more than 200 operators in the > plan for a 3-way fuzzy join), it could generate out-of-memory exception. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
Change in asterixdb[master]: Implement EXPLAIN for SQL++
Yingyi Bu has posted comments on this change. Change subject: Implement EXPLAIN for SQL++ .. Patch Set 7: Code-Review+2 -- To view, visit https://asterix-gerrit.ics.uci.edu/1020 To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings Gerrit-MessageType: comment Gerrit-Change-Id: I7b7028fb243d494150cac525c73b2d77b0068646 Gerrit-PatchSet: 7 Gerrit-Project: asterixdb Gerrit-Branch: master Gerrit-Owner: Till WestmannGerrit-Reviewer: Jenkins Gerrit-Reviewer: Till Westmann Gerrit-Reviewer: Yingyi Bu Gerrit-HasComments: No
Change in asterixdb[master]: ASTERIXDB-1363: Fix NPE on bulkload failure
Jenkins has posted comments on this change. Change subject: ASTERIXDB-1363: Fix NPE on bulkload failure .. Patch Set 1: Integration-Tests+1 Integration Tests Successful https://asterix-jenkins.ics.uci.edu/job/asterix-gerrit-integration-tests/204/ : SUCCESS -- To view, visit https://asterix-gerrit.ics.uci.edu/1033 To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings Gerrit-MessageType: comment Gerrit-Change-Id: Ic1626baa63371834cc2abbe30366df506d817da6 Gerrit-PatchSet: 1 Gerrit-Project: asterixdb Gerrit-Branch: master Gerrit-Owner: Murtadha HubailGerrit-Reviewer: Jenkins Gerrit-Reviewer: abdullah alamoudi Gerrit-HasComments: No
Change in asterixdb[master]: ASTERIXDB-1363: Fix NPE on bulkload failure
Murtadha Hubail has submitted this change and it was merged. Change subject: ASTERIXDB-1363: Fix NPE on bulkload failure .. ASTERIXDB-1363: Fix NPE on bulkload failure Change-Id: Ic1626baa63371834cc2abbe30366df506d817da6 Reviewed-on: https://asterix-gerrit.ics.uci.edu/1033 Sonar-Qube: JenkinsTested-by: Jenkins Reviewed-by: abdullah alamoudi Integration-Tests: Jenkins --- A asterixdb/asterix-app/src/test/resources/runtimets/queries/load/load_non-empty_index/load_non-empty_index.1.ddl.aql A asterixdb/asterix-app/src/test/resources/runtimets/queries/load/load_non-empty_index/load_non-empty_index.2.update.aql M asterixdb/asterix-app/src/test/resources/runtimets/testsuite.xml M hyracks-fullstack/hyracks/hyracks-storage-am-common/src/main/java/org/apache/hyracks/storage/am/common/dataflow/IndexBulkLoadOperatorNodePushable.java 4 files changed, 76 insertions(+), 2 deletions(-) Approvals: abdullah alamoudi: Looks good to me, approved Jenkins: Verified; No violations found; Verified diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries/load/load_non-empty_index/load_non-empty_index.1.ddl.aql b/asterixdb/asterix-app/src/test/resources/runtimets/queries/load/load_non-empty_index/load_non-empty_index.1.ddl.aql new file mode 100644 index 000..963e105 --- /dev/null +++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries/load/load_non-empty_index/load_non-empty_index.1.ddl.aql @@ -0,0 +1,33 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +/* + * Description : Bulkload non-empty index. + * Expected Res : Failure + * Date : 29 July 2016 + */ +drop dataverse OpenTinySocial if exists; +create dataverse OpenTinySocial; +use dataverse OpenTinySocial; + +create type FacebookMessageType as { + message-id: int64 +}; + +create dataset FacebookMessages(FacebookMessageType) +primary key message-id; \ No newline at end of file diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries/load/load_non-empty_index/load_non-empty_index.2.update.aql b/asterixdb/asterix-app/src/test/resources/runtimets/queries/load/load_non-empty_index/load_non-empty_index.2.update.aql new file mode 100644 index 000..21db981 --- /dev/null +++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries/load/load_non-empty_index/load_non-empty_index.2.update.aql @@ -0,0 +1,32 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +/* + * Description : Bulkload non-empty index. + * Expected Res : Failure + * Date : 29 July 2016 + */ +use dataverse OpenTinySocial; + +load dataset FacebookMessages +using localfs +(("path"="asterix_nc1://data/tinysocial/fbm.adm"),("format"="adm")); + +load dataset FacebookMessages +using localfs +(("path"="asterix_nc1://data/tinysocial/fbm.adm"),("format"="adm")); \ No newline at end of file diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/testsuite.xml b/asterixdb/asterix-app/src/test/resources/runtimets/testsuite.xml index b675ece..0553fba 100644 --- a/asterixdb/asterix-app/src/test/resources/runtimets/testsuite.xml +++ b/asterixdb/asterix-app/src/test/resources/runtimets/testsuite.xml @@ -6380,6 +6380,12 @@ + +load_non-empty_index +Cannot load an index that is not
Change in asterixdb[master]: ASTERIXDB-1363: Fix NPE on bulkload failure
Jenkins has posted comments on this change. Change subject: ASTERIXDB-1363: Fix NPE on bulkload failure .. Patch Set 1: Integration Tests Started https://asterix-jenkins.ics.uci.edu/job/asterix-gerrit-integration-tests/204/ -- To view, visit https://asterix-gerrit.ics.uci.edu/1033 To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings Gerrit-MessageType: comment Gerrit-Change-Id: Ic1626baa63371834cc2abbe30366df506d817da6 Gerrit-PatchSet: 1 Gerrit-Project: asterixdb Gerrit-Branch: master Gerrit-Owner: Murtadha HubailGerrit-Reviewer: Jenkins Gerrit-HasComments: No
Change in asterixdb[master]: ASTERIXDB-1363: Fix NPE on bulkload failure
Jenkins has posted comments on this change. Change subject: ASTERIXDB-1363: Fix NPE on bulkload failure .. Patch Set 1: Build Started https://asterix-jenkins.ics.uci.edu/job/asterix-gerrit-notopic/2067/ -- To view, visit https://asterix-gerrit.ics.uci.edu/1033 To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings Gerrit-MessageType: comment Gerrit-Change-Id: Ic1626baa63371834cc2abbe30366df506d817da6 Gerrit-PatchSet: 1 Gerrit-Project: asterixdb Gerrit-Branch: master Gerrit-Owner: Murtadha HubailGerrit-Reviewer: Jenkins Gerrit-HasComments: No
Change in asterixdb[master]: ASTERIXDB-1363: Fix NPE on bulkload failure
Murtadha Hubail has uploaded a new change for review. https://asterix-gerrit.ics.uci.edu/1033 Change subject: ASTERIXDB-1363: Fix NPE on bulkload failure .. ASTERIXDB-1363: Fix NPE on bulkload failure Change-Id: Ic1626baa63371834cc2abbe30366df506d817da6 --- A asterixdb/asterix-app/src/test/resources/runtimets/queries/load/load_non-empty_index/load_non-empty_index.1.ddl.aql A asterixdb/asterix-app/src/test/resources/runtimets/queries/load/load_non-empty_index/load_non-empty_index.2.update.aql M asterixdb/asterix-app/src/test/resources/runtimets/testsuite.xml M hyracks-fullstack/hyracks/hyracks-storage-am-common/src/main/java/org/apache/hyracks/storage/am/common/dataflow/IndexBulkLoadOperatorNodePushable.java 4 files changed, 76 insertions(+), 2 deletions(-) git pull ssh://asterix-gerrit.ics.uci.edu:29418/asterixdb refs/changes/33/1033/1 diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries/load/load_non-empty_index/load_non-empty_index.1.ddl.aql b/asterixdb/asterix-app/src/test/resources/runtimets/queries/load/load_non-empty_index/load_non-empty_index.1.ddl.aql new file mode 100644 index 000..963e105 --- /dev/null +++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries/load/load_non-empty_index/load_non-empty_index.1.ddl.aql @@ -0,0 +1,33 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +/* + * Description : Bulkload non-empty index. + * Expected Res : Failure + * Date : 29 July 2016 + */ +drop dataverse OpenTinySocial if exists; +create dataverse OpenTinySocial; +use dataverse OpenTinySocial; + +create type FacebookMessageType as { + message-id: int64 +}; + +create dataset FacebookMessages(FacebookMessageType) +primary key message-id; \ No newline at end of file diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries/load/load_non-empty_index/load_non-empty_index.2.update.aql b/asterixdb/asterix-app/src/test/resources/runtimets/queries/load/load_non-empty_index/load_non-empty_index.2.update.aql new file mode 100644 index 000..21db981 --- /dev/null +++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries/load/load_non-empty_index/load_non-empty_index.2.update.aql @@ -0,0 +1,32 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +/* + * Description : Bulkload non-empty index. + * Expected Res : Failure + * Date : 29 July 2016 + */ +use dataverse OpenTinySocial; + +load dataset FacebookMessages +using localfs +(("path"="asterix_nc1://data/tinysocial/fbm.adm"),("format"="adm")); + +load dataset FacebookMessages +using localfs +(("path"="asterix_nc1://data/tinysocial/fbm.adm"),("format"="adm")); \ No newline at end of file diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/testsuite.xml b/asterixdb/asterix-app/src/test/resources/runtimets/testsuite.xml index b675ece..0553fba 100644 --- a/asterixdb/asterix-app/src/test/resources/runtimets/testsuite.xml +++ b/asterixdb/asterix-app/src/test/resources/runtimets/testsuite.xml @@ -6380,6 +6380,12 @@ + +load_non-empty_index +Cannot load an index that is not empty + + + dataset-with-meta load dataset is not supported on Datasets with Meta records diff --git
Change in asterixdb[master]: Implement EXPLAIN for SQL++
Jenkins has posted comments on this change. Change subject: Implement EXPLAIN for SQL++ .. Patch Set 7: Integration Tests Started https://asterix-jenkins.ics.uci.edu/job/asterix-gerrit-integration-tests/203/ -- To view, visit https://asterix-gerrit.ics.uci.edu/1020 To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings Gerrit-MessageType: comment Gerrit-Change-Id: I7b7028fb243d494150cac525c73b2d77b0068646 Gerrit-PatchSet: 7 Gerrit-Project: asterixdb Gerrit-Branch: master Gerrit-Owner: Till WestmannGerrit-Reviewer: Jenkins Gerrit-Reviewer: Till Westmann Gerrit-Reviewer: Yingyi Bu Gerrit-HasComments: No
Change in asterixdb[master]: Implement EXPLAIN for SQL++
Hello Yingyi Bu, Jenkins, I'd like you to reexamine a change. Please visit https://asterix-gerrit.ics.uci.edu/1020 to look at the new patch set (#7). Change subject: Implement EXPLAIN for SQL++ .. Implement EXPLAIN for SQL++ - move some code from static methods in ResultUtils to a stateful ResultPrinter to facilitate reuse (we create one ResultWriter per request) - tiny cleanup in LogicalOperatorPrettyPrintVisitor Change-Id: I7b7028fb243d494150cac525c73b2d77b0068646 --- M asterixdb/asterix-algebra/src/main/javacc/AQLPlus.jj M asterixdb/asterix-app/src/main/java/org/apache/asterix/api/common/APIFramework.java M asterixdb/asterix-app/src/main/java/org/apache/asterix/aql/translator/QueryTranslator.java A asterixdb/asterix-app/src/main/java/org/apache/asterix/result/ResultPrinter.java M asterixdb/asterix-app/src/main/java/org/apache/asterix/result/ResultUtils.java A asterixdb/asterix-app/src/test/resources/runtimets/queries_sqlpp/explain/explain_simple/explain_simple.1.query.sqlpp A asterixdb/asterix-app/src/test/resources/runtimets/results/explain/explain_simple/explain_simple.1.adm M asterixdb/asterix-app/src/test/resources/runtimets/testsuite_sqlpp.xml M asterixdb/asterix-lang-aql/src/main/java/org/apache/asterix/lang/aql/statement/SubscribeFeedStatement.java M asterixdb/asterix-lang-aql/src/main/java/org/apache/asterix/lang/aql/visitor/AqlDeleteRewriteVisitor.java M asterixdb/asterix-lang-aql/src/main/javacc/AQL.jj M asterixdb/asterix-lang-common/src/main/java/org/apache/asterix/lang/common/statement/Query.java M asterixdb/asterix-lang-common/src/main/java/org/apache/asterix/lang/common/visitor/AbstractInlineUdfsVisitor.java M asterixdb/asterix-lang-common/src/main/java/org/apache/asterix/lang/common/visitor/CloneAndSubstituteVariablesVisitor.java M asterixdb/asterix-lang-sqlpp/src/main/java/org/apache/asterix/lang/sqlpp/visitor/DeepCopyVisitor.java M asterixdb/asterix-lang-sqlpp/src/main/java/org/apache/asterix/lang/sqlpp/visitor/SqlppDeleteRewriteVisitor.java M asterixdb/asterix-lang-sqlpp/src/main/javacc/SQLPP.jj M hyracks-fullstack/algebricks/algebricks-core/src/main/java/org/apache/hyracks/algebricks/core/algebra/prettyprint/LogicalOperatorPrettyPrintVisitor.java 18 files changed, 292 insertions(+), 152 deletions(-) git pull ssh://asterix-gerrit.ics.uci.edu:29418/asterixdb refs/changes/20/1020/7 -- To view, visit https://asterix-gerrit.ics.uci.edu/1020 To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings Gerrit-MessageType: newpatchset Gerrit-Change-Id: I7b7028fb243d494150cac525c73b2d77b0068646 Gerrit-PatchSet: 7 Gerrit-Project: asterixdb Gerrit-Branch: master Gerrit-Owner: Till WestmannGerrit-Reviewer: Jenkins Gerrit-Reviewer: Till Westmann Gerrit-Reviewer: Yingyi Bu
Change in asterixdb[master]: small ADMParser/AdmLexer cleanup
Jenkins has posted comments on this change. Change subject: small ADMParser/AdmLexer cleanup .. Patch Set 2: Build Started https://asterix-jenkins.ics.uci.edu/job/asterix-gerrit-notopic/2065/ -- To view, visit https://asterix-gerrit.ics.uci.edu/1032 To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings Gerrit-MessageType: comment Gerrit-Change-Id: Id032f0c83ebef108a9eddb7242c586d5481217e4 Gerrit-PatchSet: 2 Gerrit-Project: asterixdb Gerrit-Branch: master Gerrit-Owner: Till WestmannGerrit-Reviewer: Jenkins Gerrit-HasComments: No
Change in asterixdb[master]: small ADMParser/AdmLexer cleanup
Till Westmann has uploaded a new patch set (#2). Change subject: small ADMParser/AdmLexer cleanup .. small ADMParser/AdmLexer cleanup - do not declare IOExceptions that are not thrown - improve formatting of lexer template Change-Id: Id032f0c83ebef108a9eddb7242c586d5481217e4 --- M asterixdb/asterix-external-data/src/main/java/org/apache/asterix/external/parser/ADMDataParser.java M asterixdb/asterix-external-data/src/main/java/org/apache/asterix/external/parser/factory/ADMDataParserFactory.java M asterixdb/asterix-external-data/src/test/java/org/apache/asterix/external/library/adapter/TestTypedAdapterFactory.java M asterixdb/asterix-maven-plugins/lexer-generator-maven-plugin/src/main/resources/Lexer.java 4 files changed, 81 insertions(+), 92 deletions(-) git pull ssh://asterix-gerrit.ics.uci.edu:29418/asterixdb refs/changes/32/1032/2 -- To view, visit https://asterix-gerrit.ics.uci.edu/1032 To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings Gerrit-MessageType: newpatchset Gerrit-Change-Id: Id032f0c83ebef108a9eddb7242c586d5481217e4 Gerrit-PatchSet: 2 Gerrit-Project: asterixdb Gerrit-Branch: master Gerrit-Owner: Till WestmannGerrit-Reviewer: Jenkins
Change in asterixdb[master]: small ADMParser/AdmLexer cleanup
Jenkins has posted comments on this change. Change subject: small ADMParser/AdmLexer cleanup .. Patch Set 1: Build Started https://asterix-jenkins.ics.uci.edu/job/asterix-gerrit-notopic/2064/ -- To view, visit https://asterix-gerrit.ics.uci.edu/1032 To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings Gerrit-MessageType: comment Gerrit-Change-Id: Id032f0c83ebef108a9eddb7242c586d5481217e4 Gerrit-PatchSet: 1 Gerrit-Project: asterixdb Gerrit-Branch: master Gerrit-Owner: Till WestmannGerrit-Reviewer: Jenkins Gerrit-HasComments: No