Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-8961

Unit test framework for plugins throws a lot of unwanted warnings

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.2.0
    • Component/s: App Fabric
    • Labels:
      None
    • Release Notes:
      Fixed warnings about /opt/cdap/master/artifacts not being a directory in unit tests.
    • Rank:
      1|hzzxm7:

      Description

      Unit test framework for plugins throws a lot of Warning messages. While fixing this, we should also check the impact of wrongly configured artifacts directory on distributed environments.

      {code]

      2017-03-12 21:35:48,824 - WARN [main:c.c.c.i.a.r.a.ArtifactRepository@112] - Ignoring /opt/cdap/master/artifacts because it is not a directory.
      2017-03-12 21:35:52,078 - WARN [main:c.c.c.i.a.r.a.ArtifactRepository@112] - Ignoring /opt/cdap/master/artifacts because it is not a directory.
      2017-03-12 21:35:52,079 - WARN [main:c.c.c.i.a.r.a.ArtifactRepository@112] - Ignoring /opt/cdap/master/artifacts because it is not a directory.
      2017-03-12 21:35:55,071 - WARN [main:c.c.c.i.a.r.a.ArtifactRepository@112] - Ignoring /opt/cdap/master/artifacts because it is not a directory.
      2017-03-12 21:35:55,072 - WARN [main:c.c.c.i.a.r.a.ArtifactRepository@112] - Ignoring /opt/cdap/master/artifacts because it is not a directory.
      2017-03-12 21:35:55,140 - WARN [main:c.c.c.i.a.r.a.ArtifactRepository@112] - Ignoring /opt/cdap/master/artifacts because it is not a directory.
      2017-03-12 21:35:56,756 - ERROR [main:c.c.c.g.h.AppLifecycleHttpHandler$1@404] - Deploy failure
      java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException: Required property 'field' missing for plugin of type batchaggregator, name TopN.
      at com.google.common.util.concurrent.Futures$ImmediateFailedFuture.get(Futures.java:183) ~[hive-exec-1.2.1.jar:1.2.1]
      at com.google.common.util.concurrent.Futures$ImmediateFuture

      
      

        Attachments

          Activity

            People

            • Assignee:
              ashau Albert Shau
              Reporter:
              sree Sreevatsan Raman
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: