https://pinot.apache.org/ logo
Join Slack
Powered by
# inconsistent-segment
  • m

    Manoj Singh

    05/16/2020, 8:16 AM
    @User I have already done that. thought of sharing this... for proper fix.
  • m

    Manoj Singh

    05/16/2020, 8:16 AM
    @User thanks
  • x

    Xiang Fu

    05/16/2020, 8:17 AM
    yes
  • m

    Manoj Singh

    05/16/2020, 8:17 AM
    @User even empty string also works
  • x

    Xiang Fu

    05/16/2020, 8:17 AM
    this should be fixed
  • m

    Manoj Singh

    05/16/2020, 8:19 AM
    @User Yeah we should have alignment that non mandatory field can be null so we should have null check for that.
  • m

    Manoj Singh

    05/16/2020, 8:19 AM
    @User Shall I create JIRA for this ?
  • x

    Xiang Fu

    05/16/2020, 8:21 AM
    it’s ok
  • x

    Xiang Fu

    05/16/2020, 8:21 AM
    no need for jira
  • x

    Xiang Fu

    05/16/2020, 8:21 AM
    yes, this field could be null and we should do null check for that
  • m

    Manoj Singh

    05/16/2020, 8:22 AM
    yes right
  • m

    Manoj Singh

    05/16/2020, 8:26 AM
    In latest master build "pinot-ingestion-job.sh" is not working because it expects main method in IngestionJobLauncher, which has been modified in latest build so either we should deprecate pinot-ingestion-job.sh or we should fix it. @User @User
  • x

    Xiang Fu

    05/16/2020, 8:26 AM
    https://github.com/apache/incubator-pinot/pull/5403/files
  • x

    Xiang Fu

    05/16/2020, 8:26 AM
    ah true
  • m

    Manoj Singh

    05/16/2020, 8:26 AM
    @User
    Copy code
    /usr/local/apache-pinot/bin/pinot-ingestion-job.sh /tmp/raw_data/order-batch-spec.yml
    Error: Main method not found in class org.apache.pinot.spi.ingestion.batch.IngestionJobLauncher, please define the main method as:
       public static void main(String[] args)
    or a JavaFX application class must extend javafx.application.Application
  • m

    Manoj Singh

    05/16/2020, 8:31 AM
    @User https://github.com/apache/incubator-pinot/pull/5403/files I have review comment please check that.
  • x

    Xiang Fu

    05/16/2020, 8:59 AM
    sure
  • x

    Xiang Fu

    05/16/2020, 8:59 AM
    also fixed the
    pinot-ingestion-job.sh
  • m

    Manoj Singh

    05/16/2020, 9:07 AM
    great thanks @User
  • m

    Manoj Singh

    05/16/2020, 9:12 AM
    @User Are you planning to update IngestionJobLauncher.getSegmentGenerationJobSpec as mentioned in review comments ?
  • x

    Xiang Fu

    05/16/2020, 9:17 AM
    I dont see review comments
  • m

    Manoj Singh

    05/16/2020, 9:28 AM
    @User Could you please check now if you are able to see review comment ?
  • x

    Xiang Fu

    05/16/2020, 9:36 AM
    I replied
  • x

    Xiang Fu

    05/16/2020, 9:36 AM
    so it’s ok to putAll an empty map
  • x

    Xiang Fu

    05/16/2020, 9:36 AM
    it keeps propertiesMap the same
  • m

    Manoj Singh

    05/16/2020, 9:42 AM
    Sure, I was just thinking if map is empty then map.putAll will not do anything. But its fine if you are ok.
  • m

    Manoj Singh

    05/16/2020, 9:43 AM
    Do you want me to merge, or you will get it merge by some one else ?
  • x

    Xiang Fu

    05/16/2020, 9:43 AM
    i will merge once travis-ci passed
  • m

    Manoj Singh

    05/16/2020, 9:44 AM
    sure perfect thanks @User
  • k

    Kishore G

    06/18/2020, 8:57 PM
    @User has left the channel