apex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gauravgopi123 <...@git.apache.org>
Subject [GitHub] incubator-apex-core pull request: APEXCORE-304 Added support for c...
Date Tue, 19 Jan 2016 18:28:41 GMT
Github user gauravgopi123 commented on a diff in the pull request:

    https://github.com/apache/incubator-apex-core/pull/208#discussion_r50152458
  
    --- Diff: engine/src/test/java/com/datatorrent/stram/StramMiniClusterTest.java ---
    @@ -235,6 +251,20 @@ private LogicalPlan createDAG(LogicalPlanConfiguration lpc) throws
Exception
         return dag;
       }
     
    +  private void addExtraTestJar(LogicalPlan dag)
    +  {
    +    try {
    +      File tmp1 = File.createTempFile("tmp1", null);
    +      File tmp2 = File.createTempFile("tmp2", null);
    +      tmp1.deleteOnExit();
    +      tmp2.deleteOnExit();
    +      dag.addJarResource(tmp1.getAbsolutePath(), true);
    +      dag.addJarResource(tmp2.getAbsolutePath(), false);
    +    } catch (IOException e) {
    +      e.printStackTrace();
    --- End diff --
    
    Please don't use e.printStackTrace()


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message