Member since
10-01-2015
3933
Posts
1150
Kudos Received
374
Solutions
My Accepted Solutions
| Title | Views | Posted |
|---|---|---|
| 3655 | 05-03-2017 05:13 PM | |
| 3013 | 05-02-2017 08:38 AM | |
| 3274 | 05-02-2017 08:13 AM | |
| 3220 | 04-10-2017 10:51 PM | |
| 1684 | 03-28-2017 02:27 AM |
02-24-2016
12:03 PM
You need to set hostbame in /etc/sysconfig/network i dont remember exact path but check with your OS documentation. Then run hostname
hostname -f
... View more
02-24-2016
11:56 AM
1 Kudo
Please go through these steps and confirm everything is in place https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.3.0/bk_installing_manually_book/content/install_compression_libraries.html and just double-check snappy versions according to this doc http://docs.hortonworks.com/HDPDocuments/Ambari-2.1.1.0/bk_releasenotes_ambari_2.1.1.0/content/ambari_relnotes-2.1.1.0-known-issues.html
... View more
02-23-2016
09:06 PM
1 Kudo
Please see this https://issues.apache.org/jira/plugins/servlet/mobile#issue/RANGER-202 In the table section, specify the namespace with table together
... View more
02-23-2016
09:02 PM
1.x and 0.9x are somewhat compatible but i wouldnt recommend mixing the clients and server bits. Hbase follows major.minor.hotfix semantics for versioning so with major version difference on clients backwards compatibility will break. With minor version, some functionality is compatible but its still best to keep cersions in synch.
... View more
02-23-2016
05:34 PM
Did it work before? Did service checka pass before? Did you install Oozie? You may need to reinstall it and falcon clients.
... View more
02-23-2016
04:32 PM
1 Kudo
@Mamta Chawla you need to come up with your own logic based on https://cwiki.apache.org/confluence/display/Hive/LanguageManual+UDF#LanguageManualUDF-DateFunctions look at datediff function and then just figure out whether it's a business day, you can also write your own UDF. https://cwiki.apache.org/confluence/display/Hive/LanguageManual+UDF#LanguageManualUDF-CreatingCustomUDFs
... View more
02-23-2016
04:30 PM
@Lubin Lemarchand control-A will select everything in canvas and then hit delete.
... View more
02-23-2016
03:55 PM
1 Kudo
@Mark Thorson
make sure permissions on the public key are set as per the documentation. You can also manually install the ambari agent. Copy the ambari.repo file from a working machine to this machine and put in /etc/yum.repos.d/ double check that server is set to ambari server in /etc/ambari-agent/ambari-agent.ini then ambari-agent start and try your registration process again. https://docs.hortonworks.com/HDPDocuments/Ambari-2.2.0.0/bk_ambari_reference_guide/content/ch_amb_ref_installing_ambari_agents_manually.html
... View more
02-23-2016
03:30 PM
1 Kudo
@Michel Sumbul it's been awhile, here's an example from definitive guide book public class StreamCompressor {
public static void main(String[] args) throws Exception {
String codecClassname = args[0];
Class<?> codecClass = Class.forName(codecClassname);
Configuration conf = new Configuration();
CompressionCodec codec = (CompressionCodec)
ReflectionUtils.newInstance(codecClass, conf);
CompressionOutputStream out = codec.createOutputStream(System.out);
IOUtils.copyBytes(System.in, out, 4096, false);
out.finish();
}
}
... View more
02-23-2016
03:13 PM
1 Kudo
@Michel Sumbul I don't remember setting CompressionCodecFactory explicitly. Just let configuration do its magic so remove the following CompressionCodecFactory codecFactory = new CompressionCodecFactory(conf);
CompressionCodec codec = codecFactory.getCodecByName("SnappyCodec");
CompressionOutputStream compressedOutput = codec.createOutputStream(fin);
and compressedOutput.write(myLine.getBytes());
compressedOutput.write('\n'); } }
compressedOutput.flush();
compressedOutput.close();
... View more