You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by GitBox <gi...@apache.org> on 2020/01/09 01:27:54 UTC
[GitHub] [incubator-pinot] fx19880617 opened a new pull request #4967:
Refactor pinot-batch-ingestion job specs to pinot-spi
fx19880617 opened a new pull request #4967: Refactor pinot-batch-ingestion job specs to pinot-spi
URL: https://github.com/apache/incubator-pinot/pull/4967
1. Refactor job specs from `pinot-batch-ingestion-base` module to `pinot-spi` module
2. Adding `IngestionJobRunner` interface to be implemented by ingestion jobs.
3. Rename `pinot-batch-ingestion-base` to `pinot-batch-ingestion-standalone` and make it a plugin.
4. Clean up some dependencies
----------------------------------------------------------------
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@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org
[GitHub] [incubator-pinot] codecov-io commented on issue #4967: Refactor
pinot-batch-ingestion job specs to pinot-spi
Posted by GitBox <gi...@apache.org>.
codecov-io commented on issue #4967: Refactor pinot-batch-ingestion job specs to pinot-spi
URL: https://github.com/apache/incubator-pinot/pull/4967#issuecomment-572359843
# [Codecov](https://codecov.io/gh/apache/incubator-pinot/pull/4967?src=pr&el=h1) Report
> Merging [#4967](https://codecov.io/gh/apache/incubator-pinot/pull/4967?src=pr&el=desc) into [master](https://codecov.io/gh/apache/incubator-pinot/commit/97c7118516ef5ded92b742f8cd89166b3c198b49?src=pr&el=desc) will **increase** coverage by `21.27%`.
> The diff coverage is `0%`.
[](https://codecov.io/gh/apache/incubator-pinot/pull/4967?src=pr&el=tree)
```diff
@@ Coverage Diff @@
## master #4967 +/- ##
=============================================
+ Coverage 36.06% 57.34% +21.27%
- Complexity 0 12 +12
=============================================
Files 1174 1171 -3
Lines 62349 62027 -322
Branches 9175 9120 -55
=============================================
+ Hits 22487 35569 +13082
+ Misses 37851 23811 -14040
- Partials 2011 2647 +636
```
| [Impacted Files](https://codecov.io/gh/apache/incubator-pinot/pull/4967?src=pr&el=tree) | Coverage Δ | Complexity Δ | |
|---|---|---|---|
| [...g/apache/pinot/spi/ingestion/spec/PushJobSpec.java](https://codecov.io/gh/apache/incubator-pinot/pull/4967/diff?src=pr&el=tree#diff-cGlub3Qtc3BpL3NyYy9tYWluL2phdmEvb3JnL2FwYWNoZS9waW5vdC9zcGkvaW5nZXN0aW9uL3NwZWMvUHVzaEpvYlNwZWMuamF2YQ==) | `0% <ø> (ø)` | `0 <0> (?)` | |
| [...che/pinot/spi/ingestion/spec/RecordReaderSpec.java](https://codecov.io/gh/apache/incubator-pinot/pull/4967/diff?src=pr&el=tree#diff-cGlub3Qtc3BpL3NyYy9tYWluL2phdmEvb3JnL2FwYWNoZS9waW5vdC9zcGkvaW5nZXN0aW9uL3NwZWMvUmVjb3JkUmVhZGVyU3BlYy5qYXZh) | `0% <ø> (ø)` | `0 <0> (?)` | |
| [...g/apache/pinot/spi/ingestion/spec/PinotFSSpec.java](https://codecov.io/gh/apache/incubator-pinot/pull/4967/diff?src=pr&el=tree#diff-cGlub3Qtc3BpL3NyYy9tYWluL2phdmEvb3JnL2FwYWNoZS9waW5vdC9zcGkvaW5nZXN0aW9uL3NwZWMvUGlub3RGU1NwZWMuamF2YQ==) | `0% <ø> (ø)` | `0 <0> (?)` | |
| [...org/apache/pinot/spi/ingestion/spec/TableSpec.java](https://codecov.io/gh/apache/incubator-pinot/pull/4967/diff?src=pr&el=tree#diff-cGlub3Qtc3BpL3NyYy9tYWluL2phdmEvb3JnL2FwYWNoZS9waW5vdC9zcGkvaW5nZXN0aW9uL3NwZWMvVGFibGVTcGVjLmphdmE=) | `0% <ø> (ø)` | `0 <0> (?)` | |
| [...t/spi/ingestion/spec/SegmentNameGeneratorSpec.java](https://codecov.io/gh/apache/incubator-pinot/pull/4967/diff?src=pr&el=tree#diff-cGlub3Qtc3BpL3NyYy9tYWluL2phdmEvb3JnL2FwYWNoZS9waW5vdC9zcGkvaW5nZXN0aW9uL3NwZWMvU2VnbWVudE5hbWVHZW5lcmF0b3JTcGVjLmphdmE=) | `0% <ø> (ø)` | `0 <0> (?)` | |
| [...che/pinot/spi/ingestion/spec/PinotClusterSpec.java](https://codecov.io/gh/apache/incubator-pinot/pull/4967/diff?src=pr&el=tree#diff-cGlub3Qtc3BpL3NyYy9tYWluL2phdmEvb3JnL2FwYWNoZS9waW5vdC9zcGkvaW5nZXN0aW9uL3NwZWMvUGlub3RDbHVzdGVyU3BlYy5qYXZh) | `0% <ø> (ø)` | `0 <0> (?)` | |
| [...org/apache/pinot/spi/ingestion/spec/Constants.java](https://codecov.io/gh/apache/incubator-pinot/pull/4967/diff?src=pr&el=tree#diff-cGlub3Qtc3BpL3NyYy9tYWluL2phdmEvb3JnL2FwYWNoZS9waW5vdC9zcGkvaW5nZXN0aW9uL3NwZWMvQ29uc3RhbnRzLmphdmE=) | `0% <ø> (ø)` | `0 <0> (?)` | |
| [.../spi/ingestion/spec/SegmentGenerationTaskSpec.java](https://codecov.io/gh/apache/incubator-pinot/pull/4967/diff?src=pr&el=tree#diff-cGlub3Qtc3BpL3NyYy9tYWluL2phdmEvb3JnL2FwYWNoZS9waW5vdC9zcGkvaW5nZXN0aW9uL3NwZWMvU2VnbWVudEdlbmVyYXRpb25UYXNrU3BlYy5qYXZh) | `0% <ø> (ø)` | `0 <0> (?)` | |
| [...not/spi/ingestion/spec/ExecutionFrameworkSpec.java](https://codecov.io/gh/apache/incubator-pinot/pull/4967/diff?src=pr&el=tree#diff-cGlub3Qtc3BpL3NyYy9tYWluL2phdmEvb3JnL2FwYWNoZS9waW5vdC9zcGkvaW5nZXN0aW9uL3NwZWMvRXhlY3V0aW9uRnJhbWV3b3JrU3BlYy5qYXZh) | `0% <0%> (ø)` | `0 <0> (?)` | |
| [...s/admin/command/LaunchDataIngestionJobCommand.java](https://codecov.io/gh/apache/incubator-pinot/pull/4967/diff?src=pr&el=tree#diff-cGlub3QtdG9vbHMvc3JjL21haW4vamF2YS9vcmcvYXBhY2hlL3Bpbm90L3Rvb2xzL2FkbWluL2NvbW1hbmQvTGF1bmNoRGF0YUluZ2VzdGlvbkpvYkNvbW1hbmQuamF2YQ==) | `0% <0%> (ø)` | `0 <0> (ø)` | :arrow_down: |
| ... and [599 more](https://codecov.io/gh/apache/incubator-pinot/pull/4967/diff?src=pr&el=tree-more) | |
------
[Continue to review full report at Codecov](https://codecov.io/gh/apache/incubator-pinot/pull/4967?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/apache/incubator-pinot/pull/4967?src=pr&el=footer). Last update [97c7118...3d533ec](https://codecov.io/gh/apache/incubator-pinot/pull/4967?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
----------------------------------------------------------------
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@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org
[GitHub] [incubator-pinot] kishoreg commented on a change in pull request
#4967: Refactor pinot-batch-ingestion job specs to pinot-spi
Posted by GitBox <gi...@apache.org>.
kishoreg commented on a change in pull request #4967: Refactor pinot-batch-ingestion job specs to pinot-spi
URL: https://github.com/apache/incubator-pinot/pull/4967#discussion_r364530144
##########
File path: pinot-plugins/pinot-batch-ingestion/pinot-batch-ingestion-standalone/src/main/java/org/apache/pinot/plugin/ingestion/standalone/SegmentGenerationJobRunner.java
##########
@@ -36,31 +36,66 @@
import org.apache.commons.configuration.MapConfiguration;
import org.apache.commons.io.FileUtils;
import org.apache.commons.io.IOUtils;
-import org.apache.pinot.ingestion.common.Constants;
-import org.apache.pinot.ingestion.common.SegmentGenerationTaskRunner;
-import org.apache.pinot.ingestion.common.SegmentGenerationTaskSpec;
-import org.apache.pinot.ingestion.common.PinotClusterSpec;
-import org.apache.pinot.ingestion.common.PinotFSSpec;
-import org.apache.pinot.ingestion.common.SegmentGenerationJobSpec;
import org.apache.pinot.common.config.TableConfig;
import org.apache.pinot.common.utils.TarGzCompressionUtils;
import org.apache.pinot.spi.data.Schema;
import org.apache.pinot.spi.filesystem.PinotFS;
import org.apache.pinot.spi.filesystem.PinotFSFactory;
+import org.apache.pinot.spi.ingestion.runner.IngestionJobRunner;
Review comment:
spi.batch....
----------------------------------------------------------------
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@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org
[GitHub] [incubator-pinot] kishoreg commented on a change in pull request
#4967: Refactor pinot-batch-ingestion job specs to pinot-spi
Posted by GitBox <gi...@apache.org>.
kishoreg commented on a change in pull request #4967: Refactor pinot-batch-ingestion job specs to pinot-spi
URL: https://github.com/apache/incubator-pinot/pull/4967#discussion_r364530067
##########
File path: pinot-plugins/pinot-batch-ingestion/pinot-batch-ingestion-standalone/src/main/java/org/apache/pinot/plugin/ingestion/standalone/SegmentGenerationJobRunner.java
##########
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package org.apache.pinot.ingestion.standalone;
+package org.apache.pinot.plugin.ingestion.standalone;
Review comment:
plugin.batch....
----------------------------------------------------------------
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@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org
[GitHub] [incubator-pinot] codecov-io edited a comment on issue #4967:
Refactor pinot-batch-ingestion job specs to pinot-spi
Posted by GitBox <gi...@apache.org>.
codecov-io edited a comment on issue #4967: Refactor pinot-batch-ingestion job specs to pinot-spi
URL: https://github.com/apache/incubator-pinot/pull/4967#issuecomment-572359843
# [Codecov](https://codecov.io/gh/apache/incubator-pinot/pull/4967?src=pr&el=h1) Report
> Merging [#4967](https://codecov.io/gh/apache/incubator-pinot/pull/4967?src=pr&el=desc) into [master](https://codecov.io/gh/apache/incubator-pinot/commit/f15a7b02cef262b9283b16c29b0ba2413165789f?src=pr&el=desc) will **decrease** coverage by `20.73%`.
> The diff coverage is `0%`.
[](https://codecov.io/gh/apache/incubator-pinot/pull/4967?src=pr&el=tree)
```diff
@@ Coverage Diff @@
## master #4967 +/- ##
=============================================
- Coverage 57.04% 36.31% -20.74%
=============================================
Files 1175 1172 -3
Lines 62421 62099 -322
Branches 9182 9127 -55
=============================================
- Hits 35607 22549 -13058
- Misses 24167 37546 +13379
+ Partials 2647 2004 -643
```
| [Impacted Files](https://codecov.io/gh/apache/incubator-pinot/pull/4967?src=pr&el=tree) | Coverage Δ | Complexity Δ | |
|---|---|---|---|
| [...he/pinot/spi/batch/ingestion/spec/PushJobSpec.java](https://codecov.io/gh/apache/incubator-pinot/pull/4967/diff?src=pr&el=tree#diff-cGlub3Qtc3BpL3NyYy9tYWluL2phdmEvb3JnL2FwYWNoZS9waW5vdC9zcGkvYmF0Y2gvaW5nZXN0aW9uL3NwZWMvUHVzaEpvYlNwZWMuamF2YQ==) | `0% <ø> (ø)` | `0 <0> (?)` | |
| [...not/spi/batch/ingestion/spec/RecordReaderSpec.java](https://codecov.io/gh/apache/incubator-pinot/pull/4967/diff?src=pr&el=tree#diff-cGlub3Qtc3BpL3NyYy9tYWluL2phdmEvb3JnL2FwYWNoZS9waW5vdC9zcGkvYmF0Y2gvaW5nZXN0aW9uL3NwZWMvUmVjb3JkUmVhZGVyU3BlYy5qYXZh) | `0% <ø> (ø)` | `0 <0> (?)` | |
| [...ache/pinot/spi/batch/ingestion/spec/Constants.java](https://codecov.io/gh/apache/incubator-pinot/pull/4967/diff?src=pr&el=tree#diff-cGlub3Qtc3BpL3NyYy9tYWluL2phdmEvb3JnL2FwYWNoZS9waW5vdC9zcGkvYmF0Y2gvaW5nZXN0aW9uL3NwZWMvQ29uc3RhbnRzLmphdmE=) | `0% <ø> (ø)` | `0 <0> (?)` | |
| [...batch/ingestion/spec/SegmentNameGeneratorSpec.java](https://codecov.io/gh/apache/incubator-pinot/pull/4967/diff?src=pr&el=tree#diff-cGlub3Qtc3BpL3NyYy9tYWluL2phdmEvb3JnL2FwYWNoZS9waW5vdC9zcGkvYmF0Y2gvaW5nZXN0aW9uL3NwZWMvU2VnbWVudE5hbWVHZW5lcmF0b3JTcGVjLmphdmE=) | `0% <ø> (ø)` | `0 <0> (?)` | |
| [...atch/ingestion/spec/SegmentGenerationTaskSpec.java](https://codecov.io/gh/apache/incubator-pinot/pull/4967/diff?src=pr&el=tree#diff-cGlub3Qtc3BpL3NyYy9tYWluL2phdmEvb3JnL2FwYWNoZS9waW5vdC9zcGkvYmF0Y2gvaW5nZXN0aW9uL3NwZWMvU2VnbWVudEdlbmVyYXRpb25UYXNrU3BlYy5qYXZh) | `0% <ø> (ø)` | `0 <0> (?)` | |
| [...he/pinot/spi/batch/ingestion/spec/PinotFSSpec.java](https://codecov.io/gh/apache/incubator-pinot/pull/4967/diff?src=pr&el=tree#diff-cGlub3Qtc3BpL3NyYy9tYWluL2phdmEvb3JnL2FwYWNoZS9waW5vdC9zcGkvYmF0Y2gvaW5nZXN0aW9uL3NwZWMvUGlub3RGU1NwZWMuamF2YQ==) | `0% <ø> (ø)` | `0 <0> (?)` | |
| [...not/spi/batch/ingestion/spec/PinotClusterSpec.java](https://codecov.io/gh/apache/incubator-pinot/pull/4967/diff?src=pr&el=tree#diff-cGlub3Qtc3BpL3NyYy9tYWluL2phdmEvb3JnL2FwYWNoZS9waW5vdC9zcGkvYmF0Y2gvaW5nZXN0aW9uL3NwZWMvUGlub3RDbHVzdGVyU3BlYy5qYXZh) | `0% <ø> (ø)` | `0 <0> (?)` | |
| [...ache/pinot/spi/batch/ingestion/spec/TableSpec.java](https://codecov.io/gh/apache/incubator-pinot/pull/4967/diff?src=pr&el=tree#diff-cGlub3Qtc3BpL3NyYy9tYWluL2phdmEvb3JnL2FwYWNoZS9waW5vdC9zcGkvYmF0Y2gvaW5nZXN0aW9uL3NwZWMvVGFibGVTcGVjLmphdmE=) | `0% <ø> (ø)` | `0 <0> (?)` | |
| [...inot/spi/batch/ingestion/IngestionJobLauncher.java](https://codecov.io/gh/apache/incubator-pinot/pull/4967/diff?src=pr&el=tree#diff-cGlub3Qtc3BpL3NyYy9tYWluL2phdmEvb3JnL2FwYWNoZS9waW5vdC9zcGkvYmF0Y2gvaW5nZXN0aW9uL0luZ2VzdGlvbkpvYkxhdW5jaGVyLmphdmE=) | `0% <0%> (ø)` | `0 <0> (?)` | |
| [...i/batch/ingestion/spec/ExecutionFrameworkSpec.java](https://codecov.io/gh/apache/incubator-pinot/pull/4967/diff?src=pr&el=tree#diff-cGlub3Qtc3BpL3NyYy9tYWluL2phdmEvb3JnL2FwYWNoZS9waW5vdC9zcGkvYmF0Y2gvaW5nZXN0aW9uL3NwZWMvRXhlY3V0aW9uRnJhbWV3b3JrU3BlYy5qYXZh) | `0% <0%> (ø)` | `0 <0> (?)` | |
| ... and [594 more](https://codecov.io/gh/apache/incubator-pinot/pull/4967/diff?src=pr&el=tree-more) | |
------
[Continue to review full report at Codecov](https://codecov.io/gh/apache/incubator-pinot/pull/4967?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/apache/incubator-pinot/pull/4967?src=pr&el=footer). Last update [f15a7b0...7219a62](https://codecov.io/gh/apache/incubator-pinot/pull/4967?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
----------------------------------------------------------------
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@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org
[GitHub] [incubator-pinot] fx19880617 merged pull request #4967: Refactor
pinot-batch-ingestion job specs to pinot-spi
Posted by GitBox <gi...@apache.org>.
fx19880617 merged pull request #4967: Refactor pinot-batch-ingestion job specs to pinot-spi
URL: https://github.com/apache/incubator-pinot/pull/4967
----------------------------------------------------------------
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@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org
[GitHub] [incubator-pinot] codecov-io edited a comment on issue #4967:
Refactor pinot-batch-ingestion job specs to pinot-spi
Posted by GitBox <gi...@apache.org>.
codecov-io edited a comment on issue #4967: Refactor pinot-batch-ingestion job specs to pinot-spi
URL: https://github.com/apache/incubator-pinot/pull/4967#issuecomment-572359843
# [Codecov](https://codecov.io/gh/apache/incubator-pinot/pull/4967?src=pr&el=h1) Report
> Merging [#4967](https://codecov.io/gh/apache/incubator-pinot/pull/4967?src=pr&el=desc) into [master](https://codecov.io/gh/apache/incubator-pinot/commit/97c7118516ef5ded92b742f8cd89166b3c198b49?src=pr&el=desc) will **increase** coverage by `21.31%`.
> The diff coverage is `0%`.
[](https://codecov.io/gh/apache/incubator-pinot/pull/4967?src=pr&el=tree)
```diff
@@ Coverage Diff @@
## master #4967 +/- ##
=============================================
+ Coverage 36.06% 57.38% +21.31%
- Complexity 0 12 +12
=============================================
Files 1174 1172 -2
Lines 62349 62099 -250
Branches 9175 9127 -48
=============================================
+ Hits 22487 35636 +13149
+ Misses 37851 23802 -14049
- Partials 2011 2661 +650
```
| [Impacted Files](https://codecov.io/gh/apache/incubator-pinot/pull/4967?src=pr&el=tree) | Coverage Δ | Complexity Δ | |
|---|---|---|---|
| [...he/pinot/spi/batch/ingestion/spec/PushJobSpec.java](https://codecov.io/gh/apache/incubator-pinot/pull/4967/diff?src=pr&el=tree#diff-cGlub3Qtc3BpL3NyYy9tYWluL2phdmEvb3JnL2FwYWNoZS9waW5vdC9zcGkvYmF0Y2gvaW5nZXN0aW9uL3NwZWMvUHVzaEpvYlNwZWMuamF2YQ==) | `0% <ø> (ø)` | `0 <0> (?)` | |
| [...not/spi/batch/ingestion/spec/RecordReaderSpec.java](https://codecov.io/gh/apache/incubator-pinot/pull/4967/diff?src=pr&el=tree#diff-cGlub3Qtc3BpL3NyYy9tYWluL2phdmEvb3JnL2FwYWNoZS9waW5vdC9zcGkvYmF0Y2gvaW5nZXN0aW9uL3NwZWMvUmVjb3JkUmVhZGVyU3BlYy5qYXZh) | `0% <ø> (ø)` | `0 <0> (?)` | |
| [...ache/pinot/spi/batch/ingestion/spec/Constants.java](https://codecov.io/gh/apache/incubator-pinot/pull/4967/diff?src=pr&el=tree#diff-cGlub3Qtc3BpL3NyYy9tYWluL2phdmEvb3JnL2FwYWNoZS9waW5vdC9zcGkvYmF0Y2gvaW5nZXN0aW9uL3NwZWMvQ29uc3RhbnRzLmphdmE=) | `0% <ø> (ø)` | `0 <0> (?)` | |
| [...batch/ingestion/spec/SegmentNameGeneratorSpec.java](https://codecov.io/gh/apache/incubator-pinot/pull/4967/diff?src=pr&el=tree#diff-cGlub3Qtc3BpL3NyYy9tYWluL2phdmEvb3JnL2FwYWNoZS9waW5vdC9zcGkvYmF0Y2gvaW5nZXN0aW9uL3NwZWMvU2VnbWVudE5hbWVHZW5lcmF0b3JTcGVjLmphdmE=) | `0% <ø> (ø)` | `0 <0> (?)` | |
| [...atch/ingestion/spec/SegmentGenerationTaskSpec.java](https://codecov.io/gh/apache/incubator-pinot/pull/4967/diff?src=pr&el=tree#diff-cGlub3Qtc3BpL3NyYy9tYWluL2phdmEvb3JnL2FwYWNoZS9waW5vdC9zcGkvYmF0Y2gvaW5nZXN0aW9uL3NwZWMvU2VnbWVudEdlbmVyYXRpb25UYXNrU3BlYy5qYXZh) | `0% <ø> (ø)` | `0 <0> (?)` | |
| [...he/pinot/spi/batch/ingestion/spec/PinotFSSpec.java](https://codecov.io/gh/apache/incubator-pinot/pull/4967/diff?src=pr&el=tree#diff-cGlub3Qtc3BpL3NyYy9tYWluL2phdmEvb3JnL2FwYWNoZS9waW5vdC9zcGkvYmF0Y2gvaW5nZXN0aW9uL3NwZWMvUGlub3RGU1NwZWMuamF2YQ==) | `0% <ø> (ø)` | `0 <0> (?)` | |
| [...not/spi/batch/ingestion/spec/PinotClusterSpec.java](https://codecov.io/gh/apache/incubator-pinot/pull/4967/diff?src=pr&el=tree#diff-cGlub3Qtc3BpL3NyYy9tYWluL2phdmEvb3JnL2FwYWNoZS9waW5vdC9zcGkvYmF0Y2gvaW5nZXN0aW9uL3NwZWMvUGlub3RDbHVzdGVyU3BlYy5qYXZh) | `0% <ø> (ø)` | `0 <0> (?)` | |
| [...ache/pinot/spi/batch/ingestion/spec/TableSpec.java](https://codecov.io/gh/apache/incubator-pinot/pull/4967/diff?src=pr&el=tree#diff-cGlub3Qtc3BpL3NyYy9tYWluL2phdmEvb3JnL2FwYWNoZS9waW5vdC9zcGkvYmF0Y2gvaW5nZXN0aW9uL3NwZWMvVGFibGVTcGVjLmphdmE=) | `0% <ø> (ø)` | `0 <0> (?)` | |
| [...inot/spi/batch/ingestion/IngestionJobLauncher.java](https://codecov.io/gh/apache/incubator-pinot/pull/4967/diff?src=pr&el=tree#diff-cGlub3Qtc3BpL3NyYy9tYWluL2phdmEvb3JnL2FwYWNoZS9waW5vdC9zcGkvYmF0Y2gvaW5nZXN0aW9uL0luZ2VzdGlvbkpvYkxhdW5jaGVyLmphdmE=) | `0% <0%> (ø)` | `0 <0> (?)` | |
| [...i/batch/ingestion/spec/ExecutionFrameworkSpec.java](https://codecov.io/gh/apache/incubator-pinot/pull/4967/diff?src=pr&el=tree#diff-cGlub3Qtc3BpL3NyYy9tYWluL2phdmEvb3JnL2FwYWNoZS9waW5vdC9zcGkvYmF0Y2gvaW5nZXN0aW9uL3NwZWMvRXhlY3V0aW9uRnJhbWV3b3JrU3BlYy5qYXZh) | `0% <0%> (ø)` | `0 <0> (?)` | |
| ... and [604 more](https://codecov.io/gh/apache/incubator-pinot/pull/4967/diff?src=pr&el=tree-more) | |
------
[Continue to review full report at Codecov](https://codecov.io/gh/apache/incubator-pinot/pull/4967?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/apache/incubator-pinot/pull/4967?src=pr&el=footer). Last update [97c7118...7219a62](https://codecov.io/gh/apache/incubator-pinot/pull/4967?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
----------------------------------------------------------------
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@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org
[GitHub] [incubator-pinot] fx19880617 commented on issue #4967: Refactor
pinot-batch-ingestion job specs to pinot-spi
Posted by GitBox <gi...@apache.org>.
fx19880617 commented on issue #4967: Refactor pinot-batch-ingestion job specs to pinot-spi
URL: https://github.com/apache/incubator-pinot/pull/4967#issuecomment-573211915
> Might be better to change package `org.apache.pinot.spi.batch.ingestion.*` -> `org.apache.pinot.spi.ingestion.batch.*` (reverse batch and ingestion) as we will likely add `org.apache.pinot.spi.ingestion.stream.*` in the future?
sounds good
----------------------------------------------------------------
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@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org
[GitHub] [incubator-pinot] codecov-io edited a comment on issue #4967:
Refactor pinot-batch-ingestion job specs to pinot-spi
Posted by GitBox <gi...@apache.org>.
codecov-io edited a comment on issue #4967: Refactor pinot-batch-ingestion job specs to pinot-spi
URL: https://github.com/apache/incubator-pinot/pull/4967#issuecomment-572359843
# [Codecov](https://codecov.io/gh/apache/incubator-pinot/pull/4967?src=pr&el=h1) Report
> Merging [#4967](https://codecov.io/gh/apache/incubator-pinot/pull/4967?src=pr&el=desc) into [master](https://codecov.io/gh/apache/incubator-pinot/commit/97c7118516ef5ded92b742f8cd89166b3c198b49?src=pr&el=desc) will **increase** coverage by `21.33%`.
> The diff coverage is `0%`.
[](https://codecov.io/gh/apache/incubator-pinot/pull/4967?src=pr&el=tree)
```diff
@@ Coverage Diff @@
## master #4967 +/- ##
============================================
+ Coverage 36.06% 57.4% +21.33%
- Complexity 0 12 +12
============================================
Files 1174 1171 -3
Lines 62349 62027 -322
Branches 9175 9120 -55
============================================
+ Hits 22487 35605 +13118
+ Misses 37851 23764 -14087
- Partials 2011 2658 +647
```
| [Impacted Files](https://codecov.io/gh/apache/incubator-pinot/pull/4967?src=pr&el=tree) | Coverage Δ | Complexity Δ | |
|---|---|---|---|
| [...he/pinot/spi/batch/ingestion/spec/PushJobSpec.java](https://codecov.io/gh/apache/incubator-pinot/pull/4967/diff?src=pr&el=tree#diff-cGlub3Qtc3BpL3NyYy9tYWluL2phdmEvb3JnL2FwYWNoZS9waW5vdC9zcGkvYmF0Y2gvaW5nZXN0aW9uL3NwZWMvUHVzaEpvYlNwZWMuamF2YQ==) | `0% <ø> (ø)` | `0 <0> (?)` | |
| [...not/spi/batch/ingestion/spec/RecordReaderSpec.java](https://codecov.io/gh/apache/incubator-pinot/pull/4967/diff?src=pr&el=tree#diff-cGlub3Qtc3BpL3NyYy9tYWluL2phdmEvb3JnL2FwYWNoZS9waW5vdC9zcGkvYmF0Y2gvaW5nZXN0aW9uL3NwZWMvUmVjb3JkUmVhZGVyU3BlYy5qYXZh) | `0% <ø> (ø)` | `0 <0> (?)` | |
| [...ache/pinot/spi/batch/ingestion/spec/Constants.java](https://codecov.io/gh/apache/incubator-pinot/pull/4967/diff?src=pr&el=tree#diff-cGlub3Qtc3BpL3NyYy9tYWluL2phdmEvb3JnL2FwYWNoZS9waW5vdC9zcGkvYmF0Y2gvaW5nZXN0aW9uL3NwZWMvQ29uc3RhbnRzLmphdmE=) | `0% <ø> (ø)` | `0 <0> (?)` | |
| [...atch/ingestion/spec/SegmentGenerationTaskSpec.java](https://codecov.io/gh/apache/incubator-pinot/pull/4967/diff?src=pr&el=tree#diff-cGlub3Qtc3BpL3NyYy9tYWluL2phdmEvb3JnL2FwYWNoZS9waW5vdC9zcGkvYmF0Y2gvaW5nZXN0aW9uL3NwZWMvU2VnbWVudEdlbmVyYXRpb25UYXNrU3BlYy5qYXZh) | `0% <ø> (ø)` | `0 <0> (?)` | |
| [...he/pinot/spi/batch/ingestion/spec/PinotFSSpec.java](https://codecov.io/gh/apache/incubator-pinot/pull/4967/diff?src=pr&el=tree#diff-cGlub3Qtc3BpL3NyYy9tYWluL2phdmEvb3JnL2FwYWNoZS9waW5vdC9zcGkvYmF0Y2gvaW5nZXN0aW9uL3NwZWMvUGlub3RGU1NwZWMuamF2YQ==) | `0% <ø> (ø)` | `0 <0> (?)` | |
| [...not/spi/batch/ingestion/spec/PinotClusterSpec.java](https://codecov.io/gh/apache/incubator-pinot/pull/4967/diff?src=pr&el=tree#diff-cGlub3Qtc3BpL3NyYy9tYWluL2phdmEvb3JnL2FwYWNoZS9waW5vdC9zcGkvYmF0Y2gvaW5nZXN0aW9uL3NwZWMvUGlub3RDbHVzdGVyU3BlYy5qYXZh) | `0% <ø> (ø)` | `0 <0> (?)` | |
| [...batch/ingestion/spec/SegmentNameGeneratorSpec.java](https://codecov.io/gh/apache/incubator-pinot/pull/4967/diff?src=pr&el=tree#diff-cGlub3Qtc3BpL3NyYy9tYWluL2phdmEvb3JnL2FwYWNoZS9waW5vdC9zcGkvYmF0Y2gvaW5nZXN0aW9uL3NwZWMvU2VnbWVudE5hbWVHZW5lcmF0b3JTcGVjLmphdmE=) | `0% <ø> (ø)` | `0 <0> (?)` | |
| [...ache/pinot/spi/batch/ingestion/spec/TableSpec.java](https://codecov.io/gh/apache/incubator-pinot/pull/4967/diff?src=pr&el=tree#diff-cGlub3Qtc3BpL3NyYy9tYWluL2phdmEvb3JnL2FwYWNoZS9waW5vdC9zcGkvYmF0Y2gvaW5nZXN0aW9uL3NwZWMvVGFibGVTcGVjLmphdmE=) | `0% <ø> (ø)` | `0 <0> (?)` | |
| [...inot/spi/batch/ingestion/IngestionJobLauncher.java](https://codecov.io/gh/apache/incubator-pinot/pull/4967/diff?src=pr&el=tree#diff-cGlub3Qtc3BpL3NyYy9tYWluL2phdmEvb3JnL2FwYWNoZS9waW5vdC9zcGkvYmF0Y2gvaW5nZXN0aW9uL0luZ2VzdGlvbkpvYkxhdW5jaGVyLmphdmE=) | `0% <0%> (ø)` | `0 <0> (?)` | |
| [...i/batch/ingestion/spec/ExecutionFrameworkSpec.java](https://codecov.io/gh/apache/incubator-pinot/pull/4967/diff?src=pr&el=tree#diff-cGlub3Qtc3BpL3NyYy9tYWluL2phdmEvb3JnL2FwYWNoZS9waW5vdC9zcGkvYmF0Y2gvaW5nZXN0aW9uL3NwZWMvRXhlY3V0aW9uRnJhbWV3b3JrU3BlYy5qYXZh) | `0% <0%> (ø)` | `0 <0> (?)` | |
| ... and [599 more](https://codecov.io/gh/apache/incubator-pinot/pull/4967/diff?src=pr&el=tree-more) | |
------
[Continue to review full report at Codecov](https://codecov.io/gh/apache/incubator-pinot/pull/4967?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/apache/incubator-pinot/pull/4967?src=pr&el=footer). Last update [97c7118...6739e00](https://codecov.io/gh/apache/incubator-pinot/pull/4967?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
----------------------------------------------------------------
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@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org
[GitHub] [incubator-pinot] kishoreg commented on a change in pull request
#4967: Refactor pinot-batch-ingestion job specs to pinot-spi
Posted by GitBox <gi...@apache.org>.
kishoreg commented on a change in pull request #4967: Refactor pinot-batch-ingestion job specs to pinot-spi
URL: https://github.com/apache/incubator-pinot/pull/4967#discussion_r364528425
##########
File path: pinot-spi/src/main/java/org/apache/pinot/spi/ingestion/spec/Constants.java
##########
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package org.apache.pinot.ingestion.common;
+package org.apache.pinot.spi.ingestion.spec;
public class Constants {
Review comment:
is there any other place we can move this to? having a class for just one constant does not look right.
----------------------------------------------------------------
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@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org
[GitHub] [incubator-pinot] Jackie-Jiang commented on issue #4967: Refactor
pinot-batch-ingestion job specs to pinot-spi
Posted by GitBox <gi...@apache.org>.
Jackie-Jiang commented on issue #4967: Refactor pinot-batch-ingestion job specs to pinot-spi
URL: https://github.com/apache/incubator-pinot/pull/4967#issuecomment-573172475
Might be better to change package `org.apache.pinot.spi.batch.ingestion.*` -> `org.apache.pinot.spi.ingestion.batch.*` (reverse batch and ingestion) as we will likely add `org.apache.pinot.spi.ingestion.stream.*` in the future?
----------------------------------------------------------------
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@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org
[GitHub] [incubator-pinot] fx19880617 commented on issue #4967: Refactor
pinot-batch-ingestion job specs to pinot-spi
Posted by GitBox <gi...@apache.org>.
fx19880617 commented on issue #4967: Refactor pinot-batch-ingestion job specs to pinot-spi
URL: https://github.com/apache/incubator-pinot/pull/4967#issuecomment-573216814
> LGTM. Can you run a reformat (re-order imports) to the changed files before merge?
Thanks for the reminder.
----------------------------------------------------------------
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@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org
[GitHub] [incubator-pinot] kishoreg commented on a change in pull request
#4967: Refactor pinot-batch-ingestion job specs to pinot-spi
Posted by GitBox <gi...@apache.org>.
kishoreg commented on a change in pull request #4967: Refactor pinot-batch-ingestion job specs to pinot-spi
URL: https://github.com/apache/incubator-pinot/pull/4967#discussion_r364527513
##########
File path: pinot-spi/src/main/java/org/apache/pinot/spi/ingestion/runner/IngestionJobRunner.java
##########
@@ -0,0 +1,30 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.pinot.spi.ingestion.runner;
+
+import org.apache.pinot.spi.ingestion.spec.SegmentGenerationJobSpec;
+
+
+public interface IngestionJobRunner {
Review comment:
add javadocs to this
----------------------------------------------------------------
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@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org
[GitHub] [incubator-pinot] fx19880617 commented on a change in pull request
#4967: Refactor pinot-batch-ingestion job specs to pinot-spi
Posted by GitBox <gi...@apache.org>.
fx19880617 commented on a change in pull request #4967: Refactor pinot-batch-ingestion job specs to pinot-spi
URL: https://github.com/apache/incubator-pinot/pull/4967#discussion_r364548920
##########
File path: pinot-spi/src/main/java/org/apache/pinot/spi/ingestion/spec/Constants.java
##########
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package org.apache.pinot.ingestion.common;
+package org.apache.pinot.spi.ingestion.spec;
public class Constants {
Review comment:
It's been used from all the jobRunners, I think it's fine to keep it here. We may add more constants later.
----------------------------------------------------------------
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@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org