Example #1
0
 /** This also implements the Apache Commons Daemon interface's init */
 public void init(String[] args) {
   try {
     setup(args);
   } catch (IOException ioe) {
     LOG.error("Failed to init Flume Node", ioe);
   }
 }
Example #2
0
 public static void main(String[] argv) {
   try {
     setup(argv);
   } catch (Exception e) {
     LOG.error("Aborting: Unexpected problem with environment." + e.getMessage(), e);
     System.exit(-1);
   }
 }