![image|690x312](upload://tldN0mD7252fx7gvQNJ2Cl7eRyC.jpeg)
i have run the programme on spark-shell ,but i got a exception .
scala> fin = sc.newAPIHadoopFile(
| path = "hdfs://127.0.0.1:9000/user/root/HMB_4.bag",
| inputFormatClass = "de.valtech.foss.RosbagMapInputFormat",
| keyClass = "org.apache.hadoop.io.LongWritable",
| valueClass = "org.apache.hadoop.io.MapWritable",
| conf = {"RosbagInputFormat.chunkIdx":"/srv/data/HMB_4.bag.idx.bin"})
<console>:6: error: identifier expected but string literal found.
conf = {"RosbagInputFormat.chunkIdx":"/srv/data/HMB_4.bag.idx.bin"})
do you know why ? Eagerly awaiting your reply..
---
[Visit Topic](
https://discourse.ros.org/t/working-with-large-ros-bag-files-on-hadoop-and-spark/2314/9) or reply to this email to respond.
If you do not want to receive messages from ros-users please use the unsubscribe link below. If you use the one above, you will stop all of ros-users from receiving updates.
______________________________________________________________________________
ros-users mailing list
ros-users@lists.ros.org
http://lists.ros.org/mailman/listinfo/ros-users
Unsubscribe: <
http://lists.ros.org/mailman//options/ros-users>