Krishna Duaipaiana (north of India , around the 4th century BC ) was a Hindu religious writer from ancient India . 
He was the author of the epic-mythological text Majabhárata (3rd century BC), the most important and extensive in the history of India: it contains about 100,000 slokas (two-line couplets) or 200,000 verses;  making it four times as long as the Bible and eight times as long as the Iliad and the Odyssey combined. It is the second most extensive literary work in the world, after the Tales of King Gesar ( Tibet , late 1st millennium n. E.), Which contains more than a million verses.
[ hide ]
- 1 Krishna Duaipaiana is not Viasa or Badaraiana
- 2 Sanskrit name and etymology
- 3 Dating
- 1 Reference to writing the text
- 4 Sources
Krishna Duaipaiana is not Viasa or Badaraiana
Today, Hindus mistakenly identify Krishna Duaipaiana with the theologian and poet Viasa (early 1st millennium BC), who is famous for having written the Sama-veda and the Yáyur-veda . He did not actually create those texts but reordered the text of the Rig-veda (the oldest text in India, from the middle of the second millennium BC, composed of ten religious poets, who sign each hymn), and with that text The oldest created the other two Vedas (the Sanskrit name viasa just means ‘bifurcate’):  the Sama-veda owns 70% of the text of the Rig-veda and the Yáyur-vedaowns 50% of the text of the Rig-veda . This confusion is not a product of fanaticism, but Krishna Duaipaiana in the text of the Mahabharata itself affirms – possibly to give theological weight to his novel – that he is the original immortal Viasa, who had lived seven or eight centuries before.
Hindus today also believe that Krishna Duaipaiana is the Badaraiana theologian , author of the Vedanta-sutra , to which the current academic consensus dates to the middle of the 1st century BC. n. and. 
Sanskrit name and etymology
- kṛṣṇadvaipāyana, in the AITS system (International Alphabet for the Transliteration of Sanskrit ). 
- कृष्णद्वैपायन, inDevanagari script of Sanskrit. 
- [kríshna duaipaiána] in Sanskrit or
- Etymology: ‘the Negro born on an island’ 
- dwaipáiana:‘born on an island’; being
- aiana:‘born in’
The first mention of Krishna Duaipaiana appears in two Buddhist yataka tales : the Kanja-dipaiana-yataka and the Ghata yataka (both from the 4th century BC), in which he is referred to as ” Kanja Dipaiana” (the Pali language version of the name Krishna Duaipaiana).
Reference to writing the text
Inside the Mahabharata , Krishna Duaipaiana “Viasa” tells a legend of how he wrote the text:
The Lord Brahma (creator of the universe) appeared to the ancient sage Vyasa which could not read or write- and recommended that obtained the help of the god Ganapati for their task. Ganapati accepted and for years he sat next to Viasa to write down the stanzas that Vyasa recited to him and thus the Majabhárata was written. Ganapati could not write at the speed with which Vyasa spoke, and he was missing many words or even entire verses.
Krishna Duaipaiana «Viasa», in the Mahabharata
It is estimated that the Majabhárata was written by different authors throughout the 4th and 3rd centuries BC. n. and. The oldest writing remains (in a typeface similar to Brahmi) in India were found in 2004 in the state of Tamil Nadu (in the extreme south of India) and have been dated to the 8th to 7th century BC. n. and.  On the island of Sri Lanka, inscriptions (also in a letter similar to the Brahmi script) from the 5th century BC have been found. n. and. On the other hand, in the rest of India the oldest inscriptions that have been found are dated several centuries later. 
However, even though inscriptions are not as old, archaeological finds of “styles” (pointed sticks for writing on stone) have been discovered in the painted gray ware culture – north of the India―, dating from the 11th to the 7th century BC. n. and.  
The difficulty faced by Ganapati (Ganesha) in writing the verses of the Mahabharata as described in the legend, could be real, and was probably faced by those people who first tried to write it, since some reciters could not suspend the continuous recitation. This is because for years the reciter learned by heart as a continuous recording.
In ancient India, the name Ganapati could denote the head of a republic. In northern India there were two types of states: kingdoms, ruled by kings ( majarásh ) and republics ruled by elected leaders (ganapati: ‘leader of the people’). There is evidence that the kingdom of Kamboya (which was located in northeast India and should not be confused with present-day Cambodia ) was a republic. Possibly also the kingdom of Duáraka had a republican style of government. Perhaps the Ganapati who wrote the Mahabharata was not the famous Hindu god but one of the chiefs of these republics, well educated in the art of writing.