Uploaded image for project: 'Apache Apex Malhar'
  1. Apache Apex Malhar
  2. APEXMALHAR-1114

FraudDetect demo fails to launch

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • None
    • 1.0.1
    • demonstrations
    • None

    Description

      When trying to launch FraudDetect demo via dtcli I get the following message:

      dtcli -vvvv
      ....
      1. AdsDemo
      2. AdsDimension
      3. FraudDetect
      4. MRMonitoringDemo
      5. MachineData
      6. MapReduceApplicationOfInvertedIndex
      7. MapReduceApplicationOfLogsCount
      8. MapReduceApplicationOfWordCount
      9. MobileLocatorCustomerApplication
      10. PiCalculatorDemo
      11. PiDemo
      12. PiWithScriptDemo
      13. RollingTopWordsDemo
      14. SampleStreamDemo
      15. ScalableAdsDemo
      16. TwitterCustomerApplication
      17. TwitterDumpDemo
      18. VisualDataDemo
      19. WordCountDemo
      20. YahooFinanceDemo
      21. YahooFinanceDemoWithChart
      22. YahooFinanceDemoWithoutChart
      23. YahooFinanceWithAlertDemo
      24. YahooFinanceWithDerbySQLDemo
      25. YahooFinanceWithSingleOperatorDemo
      Choose application: 3
      2014-05-16 21:49:42,182 [main] WARN client.RMProxy createRetryPolicy - yarn.resourcemanager.connect.max-wait.ms is smaller than yarn.resourcemanager.connect.retry-interval.ms. Only try connect once.
      2014-05-16 21:49:42,183 [main] INFO client.RMProxy createRMProxy - Connecting to ResourceManager at node2.morado.com/192.168.2.140:8032
      2014-05-16 21:49:42,187 [main] DEBUG a.f i - There are 1 license agents registered
      2014-05-16 21:49:42,215 [main] DEBUG a.u <init> - Initializing userTxInput as com.datatorrent.lib.io.PubSubWebSocketInputOperator
      2014-05-16 21:49:42,219 [main] DEBUG a.u <init> - Initializing ccUserAlertQueryOutput as com.datatorrent.lib.io.PubSubWebSocketOutputOperator
      2014-05-16 21:49:42,219 [main] DEBUG a.u <init> - Initializing avgUserAlertQueryOutput as com.datatorrent.lib.io.PubSubWebSocketOutputOperator
      2014-05-16 21:49:42,219 [main] DEBUG a.u <init> - Initializing binUserAlertOutput as com.datatorrent.lib.io.PubSubWebSocketOutputOperator
      2014-05-16 21:49:42,219 [main] DEBUG a.u <init> - Initializing txSummaryWsOutput as com.datatorrent.lib.io.PubSubWebSocketOutputOperator
      2014-05-16 21:49:42,225 [main] DEBUG a.u <init> - Initializing movingSum as com.datatorrent.demos.frauddetect.SlidingWindowSumKeyVal
      2014-05-16 21:49:42,246 [main] DEBUG a.u <init> - Initializing txReceiver as com.datatorrent.demos.frauddetect.MerchantTransactionGenerator
      2014-05-16 21:49:42,248 [main] DEBUG a.u <init> - Initializing txInputHandler as com.datatorrent.demos.frauddetect.MerchantTransactionInputHandler
      2014-05-16 21:49:42,251 [main] DEBUG a.u <init> - Initializing bankInfoFraudDetector as com.datatorrent.demos.frauddetect.BankIdNumberSamplerOperator
      2014-05-16 21:49:42,256 [main] DEBUG a.u <init> - Initializing txFilter as com.datatorrent.demos.frauddetect.MerchantTransactionBucketOperator
      2014-05-16 21:49:42,258 [main] DEBUG a.u <init> - Initializing rangePerMerchant as com.datatorrent.lib.math.RangeKeyVal
      2014-05-16 21:49:42,260 [main] DEBUG a.u <init> - Initializing smaPerMerchant as com.datatorrent.lib.multiwindow.SimpleMovingAverage
      2014-05-16 21:49:42,265 [main] DEBUG a.u <init> - Initializing txStatsAggregator as com.datatorrent.demos.frauddetect.TransactionStatsAggregator
      2014-05-16 21:49:42,268 [main] DEBUG a.u <init> - Initializing avgAlerter as com.datatorrent.demos.frauddetect.AverageAlertingOperator
      2014-05-16 21:49:42,271 [main] DEBUG a.u <init> - Initializing amountFraudDetector as com.datatorrent.demos.frauddetect.CreditCardAmountSamplerOperator
      2014-05-16 21:49:42,275 [main] DEBUG a.u <init> - Initializing hdfs as com.datatorrent.demos.frauddetect.operator.HdfsStringOutputOperator
      Exception in thread "main" java.lang.NoClassDefFoundError: com/mongodb/WriteConcern
      at com.datatorrent.demos.frauddetect.operator.MongoDBOutputOperator.<init>(MongoDBOutputOperator.java:49)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
      at java.lang.Class.newInstance0(Class.java:357)
      at java.lang.Class.newInstance(Class.java:310)
      at com.datatorrent.stram.c.a.u.addOperator(hm:614)
      at com.datatorrent.demos.frauddetect.Application.getMongoDBOutputOperator(Application.java:148)
      at com.datatorrent.demos.frauddetect.Application.populateDAG(Application.java:253)
      at com.datatorrent.stram.c.a.F.i(no:1724)
      at com.datatorrent.stram.client.I.E(ab:430)
      at com.datatorrent.stram.client.I.i(ab:385)
      at com.datatorrent.stram.cli.Z.i(eb:2627)
      at com.datatorrent.stram.cli.DTCli.i(eb:1339)
      at com.datatorrent.stram.cli.DTCli.i(eb:1188)
      at com.datatorrent.stram.cli.DTCli.B(eb:1327)
      at com.datatorrent.stram.cli.DTCli.main(eb:3620)
      Caused by: java.lang.ClassNotFoundException: com.mongodb.WriteConcern
      at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
      at java.net.FactoryURLClassLoader.loadClass(URLClassLoader.java:627)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
      ... 18 more

      Attachments

        Activity

          People

            csingh Chandni Singh
            sasha Sasha Parfenov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: