[ros-users] [Discourse.ros.org] [ROS Projects] Working with large ROS bag files on Hadoop and Spark

Jie Liu via Discourse.ros.org ros.discourse at gmail.com
Fri Mar 8 14:53:38 UTC 2019



![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.




More information about the ros-users mailing list