Build #472

Build: #472 failed Child of CDAP-DRC-3873

Code commits

CDAP

  • Vinisha Shah <CuriousVini@users.noreply.github.com>

    Vinisha Shah <CuriousVini@users.noreply.github.com> 5c9d0b2edf52f8a607904b97352c090908e53d8a

    Merge pull request #10204 from caskdata/feature/CDAP-13517-metrics
    Metrics integration

  • Vinisha Shah <vinishasha@google.com>

    Vinisha Shah <vinishasha@google.com> 17351390285d537eb92080c926f5f94c47b047cb

    CDAP-13517-Metrics integration

    • cdap-app-fabric-tests/pom.xml (version 17351390285d537eb92080c926f5f94c47b047cb)
    • cdap-app-fabric-tests/src/test/java/co/cask/cdap/internal/app/runtime/batch/AppWithMapReduceUsingAvroDynamicPartitioner.java (version 17351390285d537eb92080c926f5f94c47b047cb)
    • cdap-app-fabric-tests/src/test/java/co/cask/cdap/internal/app/runtime/batch/DynamicPartitionerWithAvroTest.java (version 17351390285d537eb92080c926f5f94c47b047cb)
    • cdap-app-fabric/pom.xml (version 17351390285d537eb92080c926f5f94c47b047cb)
    • cdap-app-fabric/src/main/java/co/cask/cdap/internal/app/runtime/monitor/MonitorConsumeRequest.java (version 17351390285d537eb92080c926f5f94c47b047cb)
    • cdap-app-fabric/src/main/java/co/cask/cdap/internal/app/runtime/monitor/MonitorMessage.java (version 17351390285d537eb92080c926f5f94c47b047cb)
    • cdap-app-fabric/src/main/java/co/cask/cdap/internal/app/runtime/monitor/MonitorSchemas.java (version 17351390285d537eb92080c926f5f94c47b047cb)
    • cdap-app-fabric/src/main/java/co/cask/cdap/internal/app/runtime/monitor/RuntimeHandler.java (version 17351390285d537eb92080c926f5f94c47b047cb)
    • cdap-app-fabric/src/main/java/co/cask/cdap/internal/app/runtime/monitor/RuntimeMonitor.java (version 17351390285d537eb92080c926f5f94c47b047cb)
    • cdap-app-fabric/src/main/java/co/cask/cdap/internal/app/runtime/monitor/RuntimeMonitorClient.java (version 17351390285d537eb92080c926f5f94c47b047cb)
    • cdap-app-fabric/src/main/java/co/cask/cdap/internal/app/runtime/monitor/RuntimeMonitorServer.java (version 17351390285d537eb92080c926f5f94c47b047cb)
    • cdap-app-fabric/src/main/resources/schema/v1/MonitorConsumeRequest.avsc (version 17351390285d537eb92080c926f5f94c47b047cb)
    • cdap-app-fabric/src/main/resources/schema/v1/MonitorResponse.avsc (version 17351390285d537eb92080c926f5f94c47b047cb)
    • cdap-app-fabric/src/test/java/co/cask/cdap/internal/app/runtime/batch/AppWithMapReduceUsingAvroDynamicPartitioner.java (version 17351390285d537eb92080c926f5f94c47b047cb)
    • cdap-app-fabric/src/test/java/co/cask/cdap/internal/app/runtime/batch/DynamicPartitionerWithAvroTest.java (version 17351390285d537eb92080c926f5f94c47b047cb)
    • cdap-common/src/main/java/co/cask/cdap/common/conf/Constants.java (version 17351390285d537eb92080c926f5f94c47b047cb)
    • cdap-common/src/main/resources/cdap-default.xml (version 17351390285d537eb92080c926f5f94c47b047cb)
    • cdap-docs/admin-manual/build.sh (version 17351390285d537eb92080c926f5f94c47b047cb)
  • albertshau <ashau@google.com>

    albertshau <ashau@google.com> be8800618a87a5848a57a63921b609b8dd9cdefa

    Merge pull request #10221 from caskdata/feature/CDAP-13391-provisioner-logs-in-program-context
    CDAP-13391 log provisioner messages in program context

  • Albert Shau <ashau@desktobert.svl.corp.google.com>

    Albert Shau <ashau@desktobert.svl.corp.google.com> f8507fda070f3b149210dec153a5923aaff7fd6e m

    CDAP-13391 log provisioner messages in program context
    Modify the provisioner tasks to use a program logging context
    instead of a system logging context in order to tie the logs to
    the program run and not the system logs. Even though the provisioner
    runs in the CDAP master, it's logs belong with the program run,
    otherwise a provisioning error will cause a program run to fail
    without any feedback given to the user.

    Also adding a cluster end time to each run record. This is needed
    because the log handler restricts the log query end time using
    the end time in the run record if it exists. However, the end time
    in the run record is the program run end, whereas the cluster end
    time is usually minutes later. Adjusted the log handler to restrict
    using the cluster end time, so that the deprovisioning logs will
    be included in the program logs.

    Removing the expiresAt field from the cluster proto since it is
    currently not used. It will be re-introduced when we implement
    the feature that allows keeping a cluster around after stop or
    failure of a program run.

    • cdap-app-fabric/src/main/java/co/cask/cdap/app/store/Store.java (version f8507fda070f3b149210dec153a5923aaff7fd6e)
    • cdap-app-fabric/src/main/java/co/cask/cdap/gateway/handlers/preview/PreviewHttpHandler.java (version f8507fda070f3b149210dec153a5923aaff7fd6e)
    • cdap-app-fabric/src/main/java/co/cask/cdap/internal/app/preview/DefaultPreviewRunner.java (version f8507fda070f3b149210dec153a5923aaff7fd6e)
    • cdap-app-fabric/src/main/java/co/cask/cdap/internal/app/runtime/ProgramOptionConstants.java (version f8507fda070f3b149210dec153a5923aaff7fd6e)
    • cdap-app-fabric/src/main/java/co/cask/cdap/internal/app/services/ProgramNotificationSubscriberService.java (version f8507fda070f3b149210dec153a5923aaff7fd6e)
    • cdap-app-fabric/src/main/java/co/cask/cdap/internal/app/store/AppMetadataStore.java (version f8507fda070f3b149210dec153a5923aaff7fd6e)
    • cdap-app-fabric/src/main/java/co/cask/cdap/internal/app/store/DefaultStore.java (version f8507fda070f3b149210dec153a5923aaff7fd6e)
    • cdap-app-fabric/src/main/java/co/cask/cdap/internal/provision/ProvisionerNotifier.java (version f8507fda070f3b149210dec153a5923aaff7fd6e)
    • cdap-app-fabric/src/main/java/co/cask/cdap/internal/provision/ProvisioningService.java (version f8507fda070f3b149210dec153a5923aaff7fd6e)
    • cdap-app-fabric/src/main/java/co/cask/cdap/internal/provision/task/DeprovisionTask.java (version f8507fda070f3b149210dec153a5923aaff7fd6e)
    • cdap-app-fabric/src/main/java/co/cask/cdap/internal/provision/task/ProvisionTask.java (version f8507fda070f3b149210dec153a5923aaff7fd6e)
    • cdap-app-fabric/src/main/java/co/cask/cdap/internal/provision/task/ProvisioningTask.java (version f8507fda070f3b149210dec153a5923aaff7fd6e)
    • cdap-app-fabric/src/test/java/co/cask/cdap/internal/app/store/AppMetadataStoreTest.java (version f8507fda070f3b149210dec153a5923aaff7fd6e)
    • cdap-proto/src/main/java/co/cask/cdap/proto/ProgramRunCluster.java (version f8507fda070f3b149210dec153a5923aaff7fd6e)
    • cdap-proto/src/main/java/co/cask/cdap/proto/ProgramRunClusterStatus.java (version f8507fda070f3b149210dec153a5923aaff7fd6e)
    • cdap-watchdog/src/main/java/co/cask/cdap/logging/context/LoggingContextHelper.java (version f8507fda070f3b149210dec153a5923aaff7fd6e)
    • cdap-watchdog/src/main/java/co/cask/cdap/logging/gateway/handlers/AbstractLogHandler.java (version f8507fda070f3b149210dec153a5923aaff7fd6e)
    • cdap-watchdog/src/main/java/co/cask/cdap/logging/gateway/handlers/LogHandler.java (version f8507fda070f3b149210dec153a5923aaff7fd6e)
    • cdap-watchdog/src/main/java/co/cask/cdap/logging/gateway/handlers/store/ProgramStore.java (version f8507fda070f3b149210dec153a5923aaff7fd6e)