You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2019/04/23 03:35:27 UTC

[GitHub] [incubator-druid] havannavar edited a comment on issue #7519: 0.14-incubation: Coordinator failed to start because of the CDI BeanManager is not available. JAX-RS CDI support is disabled

havannavar edited a comment on issue #7519: 0.14-incubation: Coordinator failed to start because of the CDI BeanManager is not available. JAX-RS CDI support is disabled 
URL: https://github.com/apache/incubator-druid/issues/7519#issuecomment-485620637
 
 
   Thanks @jon-wei for your response
   
   Below is my datasource spec, I'm using schema less dimension
   
   ```
   {
     "type": "kafka",
     "dataSchema": {
       "dataSource": "event_datasource",
       "parser": {
         "type": "string",
         "parseSpec": {
           "format": "json",
           "timestampSpec": {
             "column": "time",
             "format": "auto"
           },
           "dimensionsSpec": {
             "dimensions": [],
             "dimensionExclusions": [
               "timestamp",
               "value"
             ]
           }
         }
       },
       "metricsSpec" : [
         {
           "name": "count",
           "type": "count"
         },
         {
           "name": "value_sum",
           "fieldName": "value",
           "type": "doubleSum"
         },
         {
           "name": "value_min",
           "fieldName": "value",
           "type": "doubleMin"
         },
         {
           "name": "value_max",
           "fieldName": "value",
           "type": "doubleMax"
         }
       ],
       "granularitySpec": {
         "type": "uniform",
         "segmentGranularity": "HOUR",
         "queryGranularity": "NONE",
         "rollup": false
       }
     },
     "tuningConfig": {
       "type": "kafka",
       "reportParseExceptions": false
     },
     "ioConfig": {
       "topic": "event_traffic",
       "replicas": 1,
       "taskDuration": "PT10M",
       "completionTimeout": "PT20M",
       "consumerProperties": {
         "bootstrap.servers": "<ip1>:<port1>,<ip2>:<port2>,<ip3>:<port3>"
       }
     }
   }
   ```
   The ingested message is this
   
   ```
   {
   	"zip": "560076",
   	"continent": "AS",
   	"country": "India",
   	"os": "Mac OS X",
   	"queryParams": {},
   	"city": "Bengaluru",
   	"latitude": 12.9833,
   	"ipAddress": "49.207.49.61",
   	"methodName": "GET",
   	"userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_3) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.3 Safari/605.1.15",
   	"currentTime": 1550330007303,
   	"osVersion": "10.14.3",
   	"requestURL": "http://172.104.186.202:8080/kafka/publish",
   	"X-Acess-Token": null,
   	"browser": "Safari",
   	"browserVersion": "12.0.3",
   	"serviceProvider": "Atria Convergence Technologies Pvt. Ltd. Broadband Internet Service Provider INDIA",
   	"deviceModel": "Other",
   	"longitude": 77.5833,
   	"authId" : 1234,
       "profileId" : "5c472bc0001ff583a",
       "uuid" : "bf6b01e5-a24c-64ed1c8a8e17",
       "avatar" : "https://lh5.googleusercontent.com/-SjnY3JIJ2H4/AAAAAAAAAAI/AAAAAAAADJs/OChxM3Vczac/s96-c/photo.jpg",
       "chatId" : "abcymailcom",
       "email" : "abc@gmail.com",
       "fcmRegistrationId" : "dSJjEV8ut5I:APA91bE",
       "fullName" : "Abc Xyz",
       "userGender" : null,
       "userDOB" : null,
   }
   ```
   
   This is the task report after creating datasource and after ingesting message/data via Kafka-ingestion
   ```
   {
   	"ingestionStatsAndErrors": {
   		"taskId": "index_kafka_event_datasource_25c11ef7d533a4b_ofconddn",
   		"payload": {
   			"ingestionState": "COMPLETED",
   			"unparseableEvents": {},
   			"rowStats": {
   				"buildSegments": {
   					"processed": 0,
   					"processedWithError": 0,
   					"thrownAway": 0,
   					"unparseable": 5
   				}
   			},
   			"errorMsg": null
   		},
   		"type": "ingestionStatsAndErrors"
   	}
   }
   ```
   
   A complete log file of the same.
   [index-logfile.log](https://github.com/apache/incubator-druid/files/3105534/index-logfile.log)
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org