NotesWhat is notes.io?

Notes brand slogan

Notes - notes.io

1. jar file version number 3.66.46/4.15.53

2. composite keys in sqoop

hive> CREATE EXTERNAL TABLE ha_bonus_mapped_to_cassandra_table (lylt_prog_type_cd string,lst_updt_id string, lst_updt_ts string, lylt_prog_type_ds string) STORED BY 'org.apache.hadoop.hive.cassandra.cql3.CqlStorageHandler' TBLPROPERTIES ( "cassandra.ks.name" = "basic", "cassandra.cf.name" = "lylt_prog_type_data", "cassandra.ks.stratOptions" = "DC1:2", "cassandra.ks.strategy" = "org.apache.cassandra.locator.NetworkTopologyStrategy");

hive> CREATE EXTERNAL TABLE ha_bonus_from_cfs (lylt_prog_type_cd string,lst_updt_id string, lst_updt_ts string, lylt_prog_type_ds string) ROW FORMAT
DELIMITED FIELDS TERMINATED BY ','
LINES TERMINATED BY 'n'
STORED AS TEXTFILE
LOCATION '/tc296';


hive> INSERT INTO TABLE ha_bonus_mapped_to_cassandra_table select * FROM ha_bonus_from_cfs;

cql schema

DESC TABLE lylt_prog_type.lylt_prog_type_data

CREATE TABLE lylt_prog_type.lylt_prog_type_data (
lylt_prog_type_cd ascii PRIMARY KEY,
lst_updt_id ascii,
lst_updt_ts ascii,
lylt_prog_type_ds ascii
) WITH bloom_filter_fp_chance = 0.01
AND caching = '{"keys":"ALL", "rows_per_partition":"NONE"}'
AND comment = ''
AND compaction = {'min_threshold': '4', 'class': 'org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy', 'max_threshold': '32'}
AND compression = {'sstable_compression': 'org.apache.cassandra.io.compress.LZ4Compressor'}
AND dclocal_read_repair_chance = 0.1
AND default_time_to_live = 0
AND gc_grace_seconds = 864000
AND max_index_interval = 2048
AND memtable_flush_period_in_ms = 0
AND min_index_interval = 128
AND read_repair_chance = 0.0
AND speculative_retry = '99.0PERCENTILE';



     
 
what is notes.io
 

Notes.io is a web-based application for taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000 notes created and continuing...

With notes.io;

  • * You can take a note from anywhere and any device with internet connection.
  • * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
  • * You can quickly share your contents without website, blog and e-mail.
  • * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
  • * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.

Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.

Easy: Notes.io doesn’t require installation. Just write and share note!

Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )

Free: Notes.io works for 12 years and has been free since the day it was started.


You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;


Email: [email protected]

Twitter: http://twitter.com/notesio

Instagram: http://instagram.com/notes.io

Facebook: http://facebook.com/notesio



Regards;
Notes.io Team

     
 
Shortened Note Link
 
 
Looding Image
 
     
 
Long File
 
 

For written notes was greater than 18KB Unable to shorten.

To be smaller than 18KB, please organize your notes, or sign in.