code: public void bulkImportRcvToFluo(JavaPairRDD<RowColumn, Bytes> data, BulkImportOptions opts) {
  
      data = partitionForAccumulo(data, fluoConfig.getAccumuloTable(), opts);
  
      JavaPairRDD<Key, Value> kvData = data.flatMapToPair(tuple -> {
        List<Tuple2<Key, Value>> output = new LinkedList<>();
        RowColumn rc = tuple._1();
        FluoKeyValueGenerator fkvg = new FluoKeyValueGenerator();
        fkvg.setRow(rc.getRow()).setColumn(rc.getColumn()).setValue(tuple._2().toArray());
        for (FluoKeyValue kv : fkvg.getKeyValues()) {
          output.add(new Tuple2<>(kv.getKey(), kv.getValue()));
        }
        return output;
      });
  
      bulkImportKvToAccumulo(kvData, fluoConfig.getAccumuloTable(), opts);
    }
docs: Bulk import RowColumn/Value data into Fluo table (obtained from Fluo configuration). This
  method will repartition RDD using the current split points of the Fluo table, creating one
  partition per tablet in the table. This is done so that one RFile is created per tablet for
  bulk import.
  
  @param data RowColumn/Value data to import
  @param opts Bulk import options