You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pinot.apache.org by GitBox <gi...@apache.org> on 2018/11/13 08:54:44 UTC

[GitHub] ly923976094 commented on issue #50: realtime and offline not working together

ly923976094 commented on issue #50: realtime and offline not working together
URL: https://github.com/apache/incubator-pinot/issues/50#issuecomment-438186197
 
 
   > quick-start-hybrid.sh对我有用。
   > 
   > 但是我的问题仍然存在,这里是重现的步骤,不同之处在于我将tenantIsolation设置为true,不知道这是否是原因:
   > 
   > ```
   > cd pinot-distribution/target/pinot-0.016-pkg
   > 
   > #start local zk, kafka, pinot controller, broker and server
   > bin/pinot-admin.sh StartZookeeper &
   > sleep 10
   > bin/pinot-admin.sh StartKafka &
   > sleep 5
   > bin/pinot-admin.sh StartController -tenantIsolation &
   > sleep 5
   > bin/pinot-admin.sh StartBroker &
   > bin/pinot-admin.sh StartServer &
   > 
   > #get sample data
   > wget https://github.com/linkedin/pinot/wiki/flights.tar.gz
   > tar zxvf flights.tar.gz
   > mkdir -p flights/2015
   > mv flights/flights-2015* flights/2015/
   > 
   > #add flights schema
   > bin/pinot-admin.sh AddSchema -schemaFile flights/flights-schema.json -exec
   > #add flights offline and online table
   > bin/pinot-admin.sh AddTable -filePath flights/flights-definition.json -exec
   > bin/pinot-admin.sh AddTable -filePath flights/flights-definition-realtime.json -exec
   > 
   > #build offline segment and upload
   > bin/pinot-admin.sh CreateSegment \
   >     -schemaFile flights/flights-schema.json \
   >     -dataDir flights/ \
   >     -tableName flights \
   >     -segmentName mySegment \
   >     -outDir /data/PinotSegFlights -overwrite
   > bin/pinot-admin.sh UploadSegment -segmentDir /data/PinotSegFlights
   > 
   > #stream realtime data to kafka, need to create topic flights-realtime beforehand
   > bin/pinot-admin.sh StreamAvroIntoKafka \
   >     -avroFile flights/2015/flights-2015_1.avro \
   >     -kafkaTopic flights-realtime \
   >     -kafkaBrokerList localhost:19092 &
   > ```
   
   hello, 
          @izzizz Have you solved the problem?I have encountered this problem as you do. Offline and real-time data cannot be queried together

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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: dev-unsubscribe@pinot.apache.org
For additional commands, e-mail: dev-help@pinot.apache.org