[ 
https://issues.apache.org/jira/browse/METRON-1421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16430530#comment-16430530
 ] 

ASF GitHub Bot commented on METRON-1421:
----------------------------------------

Github user merrimanr commented on the issue:

    https://github.com/apache/metron/pull/970
  
    I'm still getting an error in full dev.  When I execute this create 
metaalert function in REST:
    ```
    {
      "alerts": [
        {
          "guid": "45534065-a8bb-4c01-8c83-1812e661f76e",
          "index": "bro",
          "sensorType": "bro"
        },
    {
          "guid": "654008ff-d389-4721-86f9-076a4315b7df",
          "index": "bro",
          "sensorType": "bro"
        }
      ],
      "groups": [
        "string"
      ]
    }
    ```
    I get this error:
    ```
    IOException: class org.apache.metron.indexing.dao.HBaseDao: Guid and sensor 
type must not be null: guid = 45534065-a8bb-4c01-8c83-1812e661f76e, sensorType 
= null
    java.lang.IllegalStateException: Guid and sensor type must not be null: 
guid = 45534065-a8bb-4c01-8c83-1812e661f76e, sensorType = null
         org.apache.metron.indexing.dao.HBaseDao$Key.toBytes(HBaseDao.java:98)
         org.apache.metron.indexing.dao.HBaseDao$Key.toBytes(HBaseDao.java:110)
         org.apache.metron.indexing.dao.HBaseDao.buildPut(HBaseDao.java:252)
         org.apache.metron.indexing.dao.HBaseDao.batchUpdate(HBaseDao.java:237)
         
org.apache.metron.indexing.dao.MultiIndexDao.lambda$batchUpdate$3(MultiIndexDao.java:79)
         
java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
         
java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1374)
         java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
         
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
    ```


> Create a SolrMetaAlertDao
> -------------------------
>
>                 Key: METRON-1421
>                 URL: https://issues.apache.org/jira/browse/METRON-1421
>             Project: Metron
>          Issue Type: Sub-task
>            Reporter: Justin Leet
>            Assignee: Justin Leet
>            Priority: Major
>
> Create an implementation of the MetaAlertDao for Solr. This will involve 
> implementing the various MetaAlertDao methods using the SolrJ library and 
> also providing a SolrMetaAlertIntegrationTest (similar to 
> ElasticsearchMetaAlertIntegrationTest).



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to