You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by GitBox <gi...@apache.org> on 2022/04/08 17:10:37 UTC

[GitHub] [accumulo-examples] jmark99 commented on pull request #99: Fix sample example - update compaction configuration

jmark99 commented on PR #99:
URL: https://github.com/apache/accumulo-examples/pull/99#issuecomment-1093098837

   @DomGarguilo I cloned your PR and went through the step-by-step procedures with no issue. But when running the SampleExample I'm still seeing an exception related to the CompactionStrategy class.
   
   `
   $ ./bin/runex sample.SampleExample
   Scanning all data :
     2317 doc:context [] 1649437430445 false milk, eggs, bread, parmigiano-reggiano
     2317 doc:url [] 1649437430445 false file://groceries/9/txt
     3900 doc:context [] 1649437430445 false EC2 ate my homework
     3900 doc:url [] 1649437430445 false file://final_project.txt
     8934 doc:context [] 1649437430445 false accumulo scales
     8934 doc:url [] 1649437430445 false file://accumulo_notes.txt
     9225 doc:context [] 1649437430445 false abcde
     9225 doc:url [] 1649437430445 false file://foo.txt
   
   Scanning with sampler configuration.  Data was written before sampler was set on table, scan should fail.
     Saw sample not present exception as expected.
   
   Exception in thread "main" org.apache.accumulo.core.client.AccumuloException: TabletServer could not load CompactionStrategy class org.apache.accumulo.tserver.compaction.strategies.ConfigurableCompactionStrategy
           at org.apache.accumulo.core.clientImpl.TableOperationsImpl.ensureStrategyCanLoad(TableOperationsImpl.java:914)
           at org.apache.accumulo.core.clientImpl.TableOperationsImpl.compact(TableOperationsImpl.java:865)
           at org.apache.accumulo.examples.sample.SampleExample.main(SampleExample.java:107)
   `
   
   Did you see the error or do I have something misconfigured?
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@accumulo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org