yum -y install epel-release
yum -y update
yum clean all
yum -y groupinstall 'X Window System'
val tableDescriptorBuilder = TableDescriptorBuilder | |
.newBuilder(TableName.valueOf(HBASE_TABLE_NAME)) | |
.setColumnFamily(ColumnFamilyDescriptorBuilder.newBuilder(HBASE_COLUMN_FAMILY.getBytes).build()) | |
.build() | |
logger.info("Adding column family to the HBase Table") | |
hBaseAdmin.createTable(tableDescriptorBuilder) | |
logger.info("HBase Table Successfully Created") |
--- | |
version: '3' | |
services: | |
zookeeper: | |
image: confluentinc/cp-zookeeper:7.0.1 | |
container_name: zookeeper | |
environment: | |
ZOOKEEPER_CLIENT_PORT: 2181 | |
ZOOKEEPER_TICK_TIME: 2000 |
<profiles>
<profile>
<id>shade</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<build>
<plugins>
<!-- In case your 'mvn dependency:analyze' is failing. It may be skipped -->
class MyComplex(var x: Int, var y: Int) extends Serializable{ | |
def reset(): Unit = { | |
x = 0 | |
y = 0 | |
} | |
def add(p:MyComplex): MyComplex = { | |
x = x + p.x | |
y = y + p.y | |
return this |
//CHECK ishassan/build.sbt as well | |
import org.apache.hadoop.hbase.client._ | |
import org.apache.hadoop.hbase.util.Bytes | |
import org.apache.hadoop.hbase.{CellUtil, HBaseConfiguration, TableName} | |
import org.apache.hadoop.conf.Configuration | |
import scala.collection.JavaConverters._ | |
object ScalaHBaseExample extends App{ | |
def printRow(result : Result) = { |
OR PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
echo -n | openssl s_client -connect nexus-devportal.de.dmz.tuhuk.de:443 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' > /tmp/kumar-pem.cert
sudo add-apt-repository universe
sudo apt install gnome-tweak-tool