Hi,

1. running nutch compiled from branch 2.x. Build succeed.
2. using mongo as db storage. changed the storage.data.store.class to point
to mongo class.
Getting this error while running nutch inject /tmp/urls/seeds.txt ?
Error: A JNI error has occurred, please check your installation and try
again
Exception in thread "main" java.lang.VerifyError: Bad type on operand stack
Exception Details:
  Location:
    org/apache/nutch/crawl/InjectorJob.run(Ljava/util/Map;)Ljava/util/Map;
@85: putfield
  Reason:
    Type 'org/apache/nutch/util/NutchJob' (current frame, stack[1]) is not
assignable to 'org/apache/hadoop/mapreduce/Job'
  Current Frame:
    bci: @85
    flags: { }
    locals: { 'org/apache/nutch/crawl/InjectorJob', 'java/util/Map',
'org/apache/hadoop/fs/Path', 'java/lang/Object' }
    stack: { 'org/apache/nutch/crawl/InjectorJob',
'org/apache/nutch/util/NutchJob' }
  Bytecode:
    0x0000000: 2ab6 0004 1205 b800 06b6 0007 2b12 09b9
    0x0000010: 000a 0200 4e2d c100 0b99 000b 2dc0 000b
    0x0000020: 4da7 000f bb00 0b59 2db6 000c b700 0d4d
    0x0000030: 2a04 b500 0e2a 03b5 000f 2a2a b600 04bb
    0x0000040: 0010 59b7 0011 1212 b600 132c b600 14b6
    0x0000050: 0015 b800 16b5 0017 2ab4 0017 2cb8 0018
    0x0000060: 2ab4 0017 1219 b600 1a2a b400 1712 1bb6
    0x0000070: 001c 2ab4 0017 121d b600 1e2a b400 1712
    0x0000080: 1fb6 0020 2ab4 0017 b600 2112 1b12 1db8
    0x0000090: 0022 3a04 2ab4 0017 1904 04b8 0023 2ab4
    0x00000a0: 0017 b600 21b8 0024 3a05 b200 25bb 0010
    0x00000b0: 59b7 0011 1226 b600 1319 05b6 0014 1227
    0x00000c0: b600 13b6 0015 b900 2802 002a b400 1712
    0x00000d0: 29b6 002a 2ab4 0017 03b6 002b 2ab4 0017
    0x00000e0: 04b6 002c 5701 2ab4 0017 2ab4 002d b800
    0x00000f0: 2e2a b400 17b6 002f 1230 1231 b600 32b9
    0x0000100: 0033 0100 3706 2ab4 0017 b600 2f12 3012
    0x0000110: 34b6 0032 b900 3301 0037 08b2 0025 bb00
    0x0000120: 1059 b700 1112 35b6 0013 1608 b600 36b6
    0x0000130: 0015 b900 2802 00b2 0025 bb00 1059 b700
    0x0000140: 1112 37b6 0013 1606 b600 36b6 0015 b900
    0x0000150: 2802 002a b400 2db0
  Stackmap Table:
    append_frame(@36,Top,Object[#148])
    full_frame(@48,{Object[#149],Object[#150],Object[#151],Object[#148]},{})

at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
at java.lang.Class.privateGetMethodRecursive(Class.java:3048)
at java.lang.Class.getMethod0(Class.java:3018)
at java.lang.Class.getMethod(Class.java:1784)
at sun.launcher.LauncherHelper.validateMainClass(LauncherHelper.java:544)
at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:526)

Regards,
govind
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB