Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-2928 YARN Timeline Service v.2: alpha 1
  3. YARN-5014

Ensure non-metric values are returned as is for flow run table from the coprocessor

    XMLWordPrintableJSON

Details

    Description

      Presently the FlowScanner class presumes existence of NumericValueConverter in it's emitCells function. This causes an exception when we try to retrieve non-numeric values from this table.

      Exception is seen as:

      java.lang.ClassCastException: org.apache.hadoop.yarn.server.timelineservice.storage.common.GenericConverter cannot be cast to org.apache.hadoop.yarn.server.timelineservice.storage.common.NumericValueConverter
              at org.apache.hadoop.yarn.server.timelineservice.storage.flow.FlowScanner.nextInternal(FlowScanner.java:246)
              at org.apache.hadoop.yarn.server.timelineservice.storage.flow.FlowScanner.nextRaw(FlowScanner.java:125)
              at org.apache.hadoop.yarn.server.timelineservice.storage.flow.FlowScanner.nextRaw(FlowScanner.java:119)
              at org.apache.hadoop.hbase.regionserver.RSRpcServices.scan(RSRpcServices.java:2117)
              at org.apache.hadoop.hbase.protobuf.generated.ClientProtos$ClientService$2.callBlockingMethod(ClientProtos.java:31443)
              at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2031)
              at org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:107)
              at org.apache.hadoop.hbase.ipc.RpcExecutor.consumerLoop(RpcExecutor.java:130)
              at org.apache.hadoop.hbase.ipc.RpcExecutor$1.run(RpcExecutor.java:107)
      

      Attachments

        Issue Links

          Activity

            People

              vrushalic Vrushali C
              vrushalic Vrushali C
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: