hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Feng Yuan (JIRA)" <>
Subject [jira] [Created] (HIVE-17498) Does hive have mr-nativetask support refer to MAPREDUCE-2841
Date Mon, 11 Sep 2017 06:00:00 GMT
Feng Yuan created HIVE-17498:

             Summary: Does hive have mr-nativetask support refer to MAPREDUCE-2841
                 Key: HIVE-17498
             Project: Hive
          Issue Type: Bug
          Components: Hive
            Reporter: Feng Yuan

I try to implement a HivePlatform extends org.apache.hadoop.mapred.nativetask.Platform.
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)

package org.apache.hadoop.mapred.nativetask;

import java.util.HashSet;
import java.util.Set;
import org.apache.hadoop.classification.InterfaceAudience.Public;
import org.apache.hadoop.classification.InterfaceStability.Evolving;
import org.apache.hadoop.mapred.JobConf;
import org.apache.hadoop.mapred.nativetask.serde.INativeSerializer;
import org.apache.hadoop.mapred.nativetask.serde.NativeSerialization;

public abstract class Platform {
    private final NativeSerialization serialization = NativeSerialization.getInstance();
    protected Set<String> keyClassNames = new HashSet();

    public Platform() {

    public abstract void init() throws IOException;

    public abstract String name();

    protected void registerKey(String keyClassName, Class<?> key) throws IOException
        this.serialization.register(keyClassName, key);

    protected abstract boolean support(String var1, INativeSerializer<?> var2, JobConf

    protected abstract boolean define(Class<?> var1);

This message was sent by Atlassian JIRA

View raw message