Uploaded image for project: 'Apache Gora'
  1. Apache Gora
  2. GORA-85

Implement "Usage" messages for SpecificCompiler and LogAnalytics

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.1.1-incubating, 0.2
    • 0.3
    • storage
    • None

    Description

      Currently when attempting to run both of the above classes respectively we get the following output

      lewis@lewis-01:~/ASF/gora$ bin/gora specificcompiler
      Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 0
      	at org.apache.avro.specific.SpecificCompiler.main(SpecificCompiler.java:383)
      
      lewis@lewis-01:~/ASF/gora$ bin/gora loganalytics
      12/01/21 17:16:18 ERROR conf.Configuration: Failed to set setXIncludeAware(true) for parser org.apache.xerces.jaxp.DocumentBuilderFactoryImpl@ca8327:java.lang.UnsupportedOperationException: This parser does not support specification "null" version "null"
      java.lang.UnsupportedOperationException: This parser does not support specification "null" version "null"
      	at javax.xml.parsers.DocumentBuilderFactory.setXIncludeAware(DocumentBuilderFactory.java:590)
      	at org.apache.hadoop.conf......
      
      huge stack trace
      

      These classes should implement a "Usage" message as it is currently unclear to people how these classes should be executed and which arguements should be provided as parameters.

      Attachments

        1. GORA-85.patch
          0.7 kB
          Lewis John McGibbney

        Issue Links

          Activity

            People

              lewismc Lewis John McGibbney
              lewismc Lewis John McGibbney
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: