Uploaded image for project: 'Rya'
  1. Rya
  2. RYA-339 Fluo PCJ Improvements
  3. RYA-343

AccumuloLoadStatementsFile fails when loading data to a PCJ-enabled table.

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.2.11
    • 3.2.11
    • clients
    • None

    Description

      Issue occurs when calling AccumuloLoadStatementsFile.loadStatements() to loading data to a PCJ-enabled table. I believe this is a recent regression.

      2017-08-14 13:46:51,802 [Spring Shell] WARN  org.apache.rya.api.client.accumulo.AccumuloLoadStatementsFile - Exception while loading:
      org.apache.rya.api.persist.RyaDAOException: java.lang.IllegalArgumentException: The 'rya.indexing.pcj.storageType' property must have one of the following values: [ACCUMULO]
      	at org.apache.rya.accumulo.AccumuloRyaDAO.init(AccumuloRyaDAO.java:165)
      	at org.apache.rya.sail.config.RyaSailFactory.getAccumuloDAO(RyaSailFactory.java:155)
      	at org.apache.rya.sail.config.RyaSailFactory.getRyaSail(RyaSailFactory.java:100)
      	at org.apache.rya.sail.config.RyaSailFactory.getInstance(RyaSailFactory.java:67)
      	at org.apache.rya.api.client.accumulo.AccumuloLoadStatementsFile.loadStatements(AccumuloLoadStatementsFile.java:91)
      	at org.apache.rya.shell.RyaCommands.loadData(RyaCommands.java:121)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at org.springframework.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:210)
      	at org.springframework.shell.core.SimpleExecutionStrategy.invoke(SimpleExecutionStrategy.java:64)
      	at org.springframework.shell.core.SimpleExecutionStrategy.execute(SimpleExecutionStrategy.java:57)
      	at org.springframework.shell.core.AbstractShell.executeCommand(AbstractShell.java:127)
      	at org.springframework.shell.core.JLineShell.promptLoop(JLineShell.java:533)
      	at org.springframework.shell.core.JLineShell.run(JLineShell.java:179)
      	at java.lang.Thread.run(Thread.java:748)
      Caused by: java.lang.IllegalArgumentException: The 'rya.indexing.pcj.storageType' property must have one of the following values: [ACCUMULO]
      	at com.google.common.base.Preconditions.checkArgument(Preconditions.java:92)
      	at org.apache.rya.indexing.external.PrecomputedJoinStorageSupplier.get(PrecomputedJoinStorageSupplier.java:68)
      	at org.apache.rya.indexing.external.PrecomputedJoinIndexer.init(PrecomputedJoinIndexer.java:139)
      	at org.apache.rya.accumulo.AccumuloRyaDAO.init(AccumuloRyaDAO.java:156)
      	... 16 more
      

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            jdasch Jeff Dasch
            jdasch Jeff Dasch
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment