You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by jl...@apache.org on 2019/04/23 20:46:09 UTC

[incubator-pinot] branch improve-to-bytes-method updated (bfa71b1 -> 8ab727a)

This is an automated email from the ASF dual-hosted git repository.

jlli pushed a change to branch improve-to-bytes-method
in repository https://gitbox.apache.org/repos/asf/incubator-pinot.git.


 discard bfa71b1  Declare byte array size when initializing ByteArrayOutputStream; Use byte array instead of ByteArrayOutputStream to deduce copying byte array in the final step.
     new dab44a6  [TE] Remove migrator, partial reference and legacy alert (#4124)
     new 24c7a8e  [TE] Fix the dimension values that contain dot in it (#4125)
     new 6cd8657  [TE] Holt Winters detector (#4067)
     new c674e72  [TE] adjustment on Yaml configurations (#4122)
     new 945a167  [TE] add time format for MySQL: yyyy-mm-dd hh:mm:ss.S (#4126)
     new 79b3368  Remove redundant default broker configurations (#4106)
     new 20c2b15  [TE] frontend - harleyjj/home - get all anomalies by subscription group (#4118)
     new d889dbd  Add getter method for getting ControllerLeadershipManager (#4129)
     new e32a5b1  Add ControllerPeriodicTask integration tests (#4130)
     new 0839fb1  Refactor HelixBrokerStarter to separate constructor and start() (#4100)
     new 191255b  Improve partition aware routing when a server is down. (#4119)
     new c0120d7  Admin tool for listing segments with invalid intervals for offline tables (#4117)
     new c18a785  [TE] frontend - harleyjj/share-dashboard - extend anomalies by subscription group to share-dashboard (#4132)
     new 747f7a5  Add support for '<millis/milliseconds/micros/microseconds/nanos/nanoseconds>SinceEpcoh' time unit string (#4092)
     new 25c3686  Remove singleton for PinotLLCRealtimeSegmentManager and SegmentCompletionManager (#4102)
     new 044413f  Per User Dimension Alerter - consolidate across dimensions and send per user (#4135)
     new 6db8729  [TE] frontend - harleyjj/edit-alert - decouple alert and subscription configurations on edit alert (#4137)
     new 8775352  fix non-engish field value gibberish (#4128)
     new 96752f7  [TE] Early termination if there are no 'to' recipients (#4145)
     new 083b288  In ServiceStatus, do not log anything if all resources are up (#4141)
     new 937ecb4  Add upper lower bounds (#4147)
     new 983c5d8  [TE] Update TE-Raptor API to support multiple metrics (#4140)
     new 955748b  [TE] Fix for TimeSeries constructor (#4150)
     new d403a28  [TE] frontend - harleyjj/anomalies - make anomalies filterable by subscription group (#4131)
     new 308f53b  [TE] fix Holt-Winters standard deviation calculation (#4153)
     new b6ecc83  [TE] support monitoring granularity for Holt Winters (#4149)
     new 0328662  Decouple BrokerServerBuilder from Helix (#4144)
     new 2221623  Fix the issue where ZkCacheBaseDataAccessor.getChildren() can return list with null znRecords (#4152)
     new 46accf2  [TE] avoid tuning the detector and baseline provider separately if both interfaces are implemented in the same class (#4154)
     new 16c46f3  [TE] catch exceptions in dimension exploration (#4136)
     new f69e3d3  [TE] detection - two side threshold filter (#4148)
     new 8ab727a  Declare byte array size when initializing ByteArrayOutputStream; Use byte array instead of ByteArrayOutputStream to deduce copying byte array in the final step.

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (bfa71b1)
            \
             N -- N -- N   refs/heads/improve-to-bytes-method (8ab727a)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

The 5991 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../client/JsonAsyncHttpPinotClientTransport.java  |    6 +-
 .../pinot/broker/broker/BrokerServerBuilder.java   |   54 +-
 ...okerResourceOnlineOfflineStateModelFactory.java |   16 +-
 .../broker/broker/helix/ClusterChangeHandler.java  |   10 +
 .../broker/helix/DefaultHelixBrokerConfig.java     |   54 -
 .../broker/broker/helix/HelixBrokerStarter.java    |  418 ++-
 .../broker/helix/LiveInstanceChangeHandler.java    |   10 +-
 ...> HelixExternalViewBasedQueryQuotaManager.java} |   39 +-
 .../pinot/broker/queryquota/QueryQuotaManager.java |   13 +-
 .../requesthandler/BaseBrokerRequestHandler.java   |   18 +-
 .../ConnectionPoolBrokerRequestHandler.java        |   15 +-
 .../SingleConnectionBrokerRequestHandler.java      |    6 +-
 .../routing/HelixExternalViewBasedRouting.java     |   49 +-
 .../BasePartitionAwareRoutingTableBuilder.java     |   47 +-
 .../pinot/broker/broker/BrokerTestUtils.java       |   51 -
 .../broker/broker/HelixBrokerStarterTest.java      |   34 +-
 .../broker/broker/HelixBrokerStarterUtilsTest.java |   63 -
 ...lixExternalViewBasedQueryQuotaManagerTest.java} |   97 +-
 .../broker/routing/RandomRoutingTableTest.java     |    5 +-
 .../pinot/broker/routing/RoutingTableTest.java     |   36 +-
 ...rtitionAwareOfflineRoutingTableBuilderTest.java |   79 +
 .../pinot/common/config/TableNameBuilder.java      |    7 +
 .../pinot/common/metadata/ZKMetadataProvider.java  |   98 +-
 .../apache/pinot/common/utils/CommonConstants.java |   14 +
 .../apache/pinot/common/utils/ServiceStatus.java   |   57 +-
 .../apache/pinot/common/utils/time/TimeUtils.java  |   64 +-
 .../org/apache/pinot/common/utils/UtilsTest.java   |   21 +-
 .../apache/pinot/controller/ControllerConf.java    |   12 +
 .../apache/pinot/controller/ControllerStarter.java |   38 +-
 .../resources/LLCSegmentCompletionHandlers.java    |   19 +-
 .../helix/core/PinotHelixResourceManager.java      |   37 +-
 .../helix/core/PinotTableIdealStateBuilder.java    |    8 +-
 .../realtime/PinotLLCRealtimeSegmentManager.java   |   73 +-
 .../core/realtime/PinotRealtimeSegmentManager.java |   16 +-
 .../core/realtime/SegmentCompletionManager.java    |   33 +-
 .../rebalance/RebalanceSegmentStrategyFactory.java |   27 +-
 .../core/relocation/RealtimeSegmentRelocator.java  |    2 +-
 .../controller/util/SegmentIntervalUtils.java      |   74 +
 .../validation/OfflineSegmentIntervalChecker.java  |   33 +-
 .../controller/helix/PinotControllerModeTest.java  |   11 +
 .../PinotLLCRealtimeSegmentManagerTest.java        |   61 +-
 .../helix/core/realtime/SegmentCompletionTest.java |   31 +-
 .../tests/BaseClusterIntegrationTest.java          |   15 +
 .../pinot/integration/tests/ClusterTest.java       |   50 +-
 .../ControllerPeriodicTasksIntegrationTests.java   |  422 +++
 .../tests/HybridClusterIntegrationTest.java        |   10 +-
 .../tests/NewConfigApplyIntegrationTest.java       |    3 +-
 .../tests/RealtimeClusterIntegrationTest.java      |   12 +-
 .../tasks/SegmentStatusCheckerIntegrationTest.java |  288 --
 .../server/starter/helix/HelixServerStarter.java   |    3 +-
 .../pinot/tools/admin/PinotAdministrator.java      |    3 +-
 .../OfflineSegmentIntervalCheckerCommand.java      |  150 +
 .../tools/admin/command/StartBrokerCommand.java    |   24 +-
 .../pinot/tools/perf/PerfBenchmarkDriver.java      |    9 +-
 .../app/adapters/subscription-groups.js            |   10 +
 .../{application.js => subscription-groups.js}     |    7 +-
 .../app/pods/anomalies/controller.js               |   80 +-
 .../thirdeye-frontend/app/pods/anomalies/route.js  |   26 +-
 .../app/pods/anomalies/template.hbs                |    2 +
 .../app/pods/components/entity-filter/component.js |    9 +
 .../app/pods/components/entity-filter/template.hbs |    8 +-
 .../app/pods/components/yaml-editor/component.js   |   46 +-
 .../app/pods/components/yaml-editor/template.hbs   |   28 +-
 .../app/pods/home/index/controller.js              |   74 +-
 .../thirdeye-frontend/app/pods/home/index/route.js |   45 +-
 .../app/pods/home/index/template.hbs               |   55 +-
 .../app/pods/home/share-dashboard/controller.js    |    7 +-
 .../app/pods/home/share-dashboard/route.js         |   34 +-
 .../app/pods/home/share-dashboard/template.hbs     |    6 +-
 .../self-serve/import-sql-metric/controller.js     |    2 +-
 .../app/pods/services/api/anomalies/service.js     |   73 +-
 .../app/styles/pods/home/index/dashboard.scss      |   10 +-
 thirdeye/thirdeye-frontend/app/utils/constants.js  |   36 +-
 .../pods/components/yaml-editor/component-test.js  |    2 +-
 .../api/user/dashboard/UserDashboardResource.java  |  157 +-
 .../dashboard/ThirdEyeDashboardApplication.java    |    6 -
 .../thirdeye/dataframe/util/DataFrameUtils.java    |    3 +
 .../datalayer/pojo/DetectionAlertConfigBean.java   |   14 +-
 .../datasource/pinot/PinotThirdEyeDataSource.java  |    3 +-
 .../pinot/resultset/ThirdEyeResultSetUtils.java    |    6 +-
 .../datasource/sql/SqlResponseCacheLoader.java     |    2 +-
 .../datasource/sql/SqlThirdEyeDataSource.java      |    1 -
 .../sql/resources/SqlDataSourceResource.java       |    2 +-
 .../pinot/thirdeye/detection/DataProvider.java     |   12 -
 .../thirdeye/detection/DefaultDataProvider.java    |   11 +-
 .../detection/DetectionMigrationResource.java      |  730 -----
 .../detection/DetectionPipelineException.java      |   22 +
 .../alert/StatefulDetectionAlertFilter.java        |    6 +-
 .../detection/alert/filter/LegacyAlertFilter.java  |  143 -
 ...ilter.java => PerUserDimensionAlertFilter.java} |   58 +-
 .../ToAllRecipientsDetectionAlertFilter.java       |   33 +-
 .../detection/algorithm/DimensionWrapper.java      |   48 +-
 .../annotation/registry/DetectionRegistry.java     |   37 +-
 .../AbsoluteChangeRuleAnomalyFilter.java           |   18 +-
 .../detection/components/HoltWintersDetector.java  |  620 ++++
 .../PercentageChangeRuleAnomalyFilter.java         |   42 +-
 .../SitewideImpactRuleAnomalyFilter.java           |    8 +-
 ...ectorSpec.java => HoltWintersDetectorSpec.java} |   80 +-
 .../PercentageChangeRuleAnomalyFilterSpec.java     |   20 +-
 .../thirdeye/detection/spi/model/TimeSeries.java   |   49 +-
 .../detection/wrapper/AnomalyDetectorWrapper.java  |   27 +-
 .../yaml/CompositePipelineConfigTranslator.java    |   28 +-
 .../yaml/YamlDetectionAlertConfigTranslator.java   |    3 -
 .../yaml/YamlDetectionConfigTranslator.java        |   21 +-
 .../yaml/YamlDetectionTranslatorLoader.java        |    5 +-
 .../thirdeye/detection/yaml/YamlResource.java      |    5 +-
 .../user/dashboard}/UserDashboardResourceTest.java |   58 +-
 .../detection/DetectionMigrationResourceTest.java  |  294 --
 .../pinot/thirdeye/detection/MockDataProvider.java |    6 -
 .../filter/DimensionDetectionAlertFilterTest.java  |    2 -
 .../alert/filter/LegacyAlertFilterTest.java        |  110 -
 ...t.java => PerUserDimensionAlertFilterTest.java} |   94 +-
 .../ToAllRecipientsDetectionAlertFilterTest.java   |   25 +-
 .../AbsoluteChangeRuleAnomalyFilterTest.java       |    8 +-
 .../components/HoltWintersDetectorTest.java        |  159 ++
 .../PercentageChangeRuleAnomalyFilterTest.java     |   39 +-
 .../PercentageChangeRuleDetectorTest.java          |    1 -
 .../SitewideImpactRuleAnomalyFilterTest.java       |    8 +-
 .../wrapper/BaselineFillingMergeWrapperTest.java   |   17 +-
 .../YamlDetectionAlertConfigTranslatorTest.java    |    1 -
 .../pinot/thirdeye/detection/algorithm/daily.csv   |  732 +++++
 .../pinot/thirdeye/detection/algorithm/hourly.csv  | 3000 ++++++++++++++++++++
 .../compositePipelineTranslatorTestResult-1.json   |    2 +
 .../compositePipelineTranslatorTestResult-2.json   |    1 +
 124 files changed, 7175 insertions(+), 3007 deletions(-)
 delete mode 100644 pinot-broker/src/main/java/org/apache/pinot/broker/broker/helix/DefaultHelixBrokerConfig.java
 rename pinot-broker/src/main/java/org/apache/pinot/broker/queryquota/{TableQueryQuotaManager.java => HelixExternalViewBasedQueryQuotaManager.java} (95%)
 copy pinot-core/src/main/java/org/apache/pinot/core/segment/creator/SingleValueForwardIndexCreator.java => pinot-broker/src/main/java/org/apache/pinot/broker/queryquota/QueryQuotaManager.java (72%)
 delete mode 100644 pinot-broker/src/test/java/org/apache/pinot/broker/broker/BrokerTestUtils.java
 delete mode 100644 pinot-broker/src/test/java/org/apache/pinot/broker/broker/HelixBrokerStarterUtilsTest.java
 rename pinot-broker/src/test/java/org/apache/pinot/broker/queryquota/{TableQueryQuotaManagerTest.java => HelixExternalViewBasedQueryQuotaManagerTest.java} (79%)
 create mode 100644 pinot-controller/src/main/java/org/apache/pinot/controller/util/SegmentIntervalUtils.java
 create mode 100644 pinot-integration-tests/src/test/java/org/apache/pinot/integration/tests/ControllerPeriodicTasksIntegrationTests.java
 delete mode 100644 pinot-integration-tests/src/test/java/org/apache/pinot/integration/tests/controller/periodic/tasks/SegmentStatusCheckerIntegrationTest.java
 create mode 100644 pinot-tools/src/main/java/org/apache/pinot/tools/admin/command/OfflineSegmentIntervalCheckerCommand.java
 create mode 100644 thirdeye/thirdeye-frontend/app/adapters/subscription-groups.js
 copy thirdeye/thirdeye-frontend/app/models/{application.js => subscription-groups.js} (58%)
 delete mode 100644 thirdeye/thirdeye-pinot/src/main/java/org/apache/pinot/thirdeye/detection/DetectionMigrationResource.java
 create mode 100644 thirdeye/thirdeye-pinot/src/main/java/org/apache/pinot/thirdeye/detection/DetectionPipelineException.java
 delete mode 100644 thirdeye/thirdeye-pinot/src/main/java/org/apache/pinot/thirdeye/detection/alert/filter/LegacyAlertFilter.java
 copy thirdeye/thirdeye-pinot/src/main/java/org/apache/pinot/thirdeye/detection/alert/filter/{DimensionDetectionAlertFilter.java => PerUserDimensionAlertFilter.java} (73%)
 create mode 100644 thirdeye/thirdeye-pinot/src/main/java/org/apache/pinot/thirdeye/detection/components/HoltWintersDetector.java
 copy thirdeye/thirdeye-pinot/src/main/java/org/apache/pinot/thirdeye/detection/spec/{PercentageChangeRuleDetectorSpec.java => HoltWintersDetectorSpec.java} (54%)
 rename thirdeye/thirdeye-pinot/src/test/java/org/apache/pinot/thirdeye/{dashboard/resource/v2 => api/user/dashboard}/UserDashboardResourceTest.java (76%)
 delete mode 100644 thirdeye/thirdeye-pinot/src/test/java/org/apache/pinot/thirdeye/detection/DetectionMigrationResourceTest.java
 delete mode 100644 thirdeye/thirdeye-pinot/src/test/java/org/apache/pinot/thirdeye/detection/alert/filter/LegacyAlertFilterTest.java
 copy thirdeye/thirdeye-pinot/src/test/java/org/apache/pinot/thirdeye/detection/alert/filter/{DimensionDetectionAlertFilterTest.java => PerUserDimensionAlertFilterTest.java} (61%)
 create mode 100644 thirdeye/thirdeye-pinot/src/test/java/org/apache/pinot/thirdeye/detection/components/HoltWintersDetectorTest.java
 create mode 100644 thirdeye/thirdeye-pinot/src/test/resources/org/apache/pinot/thirdeye/detection/algorithm/daily.csv
 create mode 100644 thirdeye/thirdeye-pinot/src/test/resources/org/apache/pinot/thirdeye/detection/algorithm/hourly.csv


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