druid读取hdfs文件
生活随笔
收集整理的這篇文章主要介紹了
druid读取hdfs文件
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
2019獨角獸企業重金招聘Python工程師標準>>>
{"type" : "index_hadoop","spec" : {"dataSchema" : {"dataSource" : "wikipedia","parser" : {"type" : "hadoopyString","parseSpec" : {"format" : "json","timestampSpec" : {"column" : "timestamp","format" : "auto"},"dimensionsSpec" : {"dimensions": ["page","language","user","unpatrolled","newPage","robot","anonymous","namespace","continent","country","region","city"],"dimensionExclusions" : [],"spatialDimensions" : []}}},"metricsSpec" : [{"type" : "count","name" : "count"},{"type" : "doubleSum","name" : "added","fieldName" : "added"},{"type" : "doubleSum","name" : "deleted","fieldName" : "deleted"},{"type" : "doubleSum","name" : "delta","fieldName" : "delta"}],"granularitySpec" : {"type" : "uniform","segmentGranularity" : "DAY","queryGranularity" : "NONE","intervals" : [ "2013-08-31/2013-09-01" ]}},"ioConfig" : {"type" : "hadoop","inputSpec" : {"type" : "static","paths" : "/MyDirectory/example/wikipedia_data.json"}},"tuningConfig" : {"type": "hadoop"}},"hadoopDependencyCoordinates": <my_hadoop_version> }官網地址
http://druid.io/docs/0.10.1/ingestion/batch-ingestion.html
轉載于:https://my.oschina.net/u/2000675/blog/1572650
總結
以上是生活随笔為你收集整理的druid读取hdfs文件的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: ssh首次连接时提示yes/no
- 下一篇: 五天四夜