1. 10 10月, 2018 1 次提交
  2. 08 10月, 2018 4 次提交
    • J
      Release 2.2.0 · 9a469755
      joefk 提交于
      9a469755
    • B
      fix: NPE when there are assignments for workers not in membership (#2744) · 7e3203d6
      Boyang Jerry Peng 提交于
      ### Motivation
      
      Fixes #2743 
      
      NPE occurs when there are assignments for workers not currently in the membership.  This could happen if the worker crashed before failure detector unassigned the functions assign to it and the scheduler is triggered by other means.
      
      ### Modifications
      
      Filter out the assignments for worker not in membership.  
      7e3203d6
    • S
      [functions][python] support both python 2 and 3 (#2742) · b2d6a80f
      Sijie Guo 提交于
      *Motivation*
      
      base64 is non compatible between python2 and 3
      
      *Changes*
      
      Provides a python 2/3 compatible method
      b2d6a80f
    • S
      [schema] provide a flag to disable/enable schema validation on broker (#2730) · 0da4e4af
      Sijie Guo 提交于
      *Motivation*
      
      We need an upgrade/backward compatibility story for schema enforcement. Especially around:
      
      - `Producers cannot connect without a schema to topics with a schema`
      
      *Changes*
      
      - provide a flag on brokers to enable schema validation (and disabled it by default). this allows a smooth upgrade on brokers,
        otherwise, it will break all non-java producers on topics with schema immediately when upgrade to the new version
      0da4e4af
  3. 07 10月, 2018 1 次提交
  4. 06 10月, 2018 6 次提交
    • M
      Collect metrics on number of logs lines printed (#2735) · c3c7f0d2
      Matteo Merli 提交于
      ### Motivation
      
      Expose metrics in Prometheus regarding the number of log messages printed by each process.
      
      This will add metrics like: 
      
      ```
      # TYPE log4j2_appender_total counter
      log4j2_appender_total{cluster="standalone",level="debug"} 0.0
      log4j2_appender_total{cluster="standalone",level="warn"} 1.0
      log4j2_appender_total{cluster="standalone",level="trace"} 0.0
      log4j2_appender_total{cluster="standalone",level="error"} 0.0
      log4j2_appender_total{cluster="standalone",level="fatal"} 0.0
      log4j2_appender_total{cluster="standalone",level="info"} 181.0
      ```
      c3c7f0d2
    • S
      The log4j should be prefixed by pulsarRootDir (#2737) · 77e2e0b2
      Sanjeev Kulkarni 提交于
      * The log4j should be prefixed by pulsarRootDir
      
      * User importlib because use of __import__ is discouraged
      77e2e0b2
    • S
      [functions][worker] timeout creating producer for worker (#2738) · fc0ef901
      Sijie Guo 提交于
      
      
      *Motivation*
      
      Sometime when we run worker service as part of broker, some pods can be hanging on creating producers to assignment topics.
      It is unknown whether is it a k8s problem or not. But in general, timeout to fail fast to allow k8s to reschedule the pods.
      
      *Changes*
      
      Add a timeout logic at creating producers.
      fc0ef901
    • S
      [integration tests] add a smoketest for pulsar standalone (#2732) · d26bea8f
      Sijie Guo 提交于
      *Motivation*
      
      Ideally we should run all integration tests on both cluster mode and standalone
      mode. However the apache ci can't really afford to do so. so we run all the integration
      tests on cluster mode. We only run basic validation and test new features (e.g. state)
      on standalone.
      
      *Changes*
      
      Add PulsarStandalone related test base and suite and a simmple smoke test.
      This would set the framework for integration tests for state
      d26bea8f
    • S
      Added ability a download dependencies in Kubernetes (#2729) · da833223
      Sanjeev Kulkarni 提交于
      * Add a config to allow user code dependencies to be installed at runtime.
      Enable it only for Kubernetes runtime
      
      * Fix bug
      
      * Fixed indentation issue
      
      * Specify the right cmd line
      
      * Install dep only in the temp dir
      
      * Queue is not in python3. Thus add a try catch block
      
      * Fixed unittest
      da833223
    • S
      [function][runtime] NPE at RuntimeSpawner (#2728) · ea503da4
      Sijie Guo 提交于
      *Motivation*
      
      getFunctionStat call can happen before spanwer starts the runtime
      
      *Changes*
      
      Add null checks and also change the order of closing sequence in RuntimeSpawner
      ea503da4
  5. 05 10月, 2018 12 次提交
  6. 04 10月, 2018 14 次提交
  7. 03 10月, 2018 2 次提交