Getting-Started

This guide details how to access the Robotic Drive Analyzer Notebook on AWS Marketplace once a pod has been started following the guide in Setup RDA. As a first step, a connection to the pod is required. We establish the connection via port-forwarding:

kubectl -n <Namespace> port-forward --address 0.0.0.0 svc/<deployment-name>-zeppelin-svc 8080:8080

The deployment-name can be specified as a parameter during the setup process. Alternatively, the name of the service can be inferred from kubectl get svc.

Accessing the provided url (here localhost:8080) opens the UI of the Apache Zeppelin server. Once the link is accessed, we are prompted to enter a password. The default user and password are set to admin. This can be changed using the ADMIN_PASSWORD configuration of the run_cfn.sh script (see Setup RDA).

Demo Notebooks:

We provide two demo notebooks 1. DXC Robotic Drive Analyzer Rosbag, which analyzes a rosbag file, and 2. DXC Robotic Drive Analyzer DataFusion, which analyzes and relates a rosbag and mdf4 file. Once the Zeppelin UI can be accessed as described above, the notebooks can be opened by following the link with the respective name on the lower left side of the website. Starting with the first notebook, they include self-contained instructions about how to analyze demo files. Per default, Spark will be executed on a driver pod only. Due to this setting, the notebooks can be executed out-of-the-box. The change to a distributed setup is described in 1. DXC Robotic Drive Analyzer Rosbag.

Tips & Tricks:

  • Sometimes when starting a new tunnel, the cache needs to be updated as well, i.e., CTRL+F5 should be used in order to reload the UI.
  • The Analyzer will create index files to describe how .bag-files can be read. When there are changes to the underlying rosbag file, it is recommended to delete the index file, such that it will be recreated.
  • In case of timeouts when a large file is being processed, try to set file system options via :code:`spark.hadoop.fs.* in the Spark interpreter settings (see Configuration). Tuning parameters are described here.

Contact

RD_analyzer_support@dxc.com


© Copyright 2022, DXC Technology